strata_match_nstrat {stratamatch} | R Documentation |
Match without Stratification
Description
Not meant to be called externally. Match a data set without stratifying.
Used to compare performance with and without stratification. Note that this
function requires that the R package optmatch
is installed.
Usage
strata_match_nstrat(object, model = NULL, k = 1)
Arguments
object |
a strata object |
model |
(optional) formula for matching. If left blank, all
columns of the analysis set in |
k |
the number of control individuals to be matched to each treated
individual. If |
Value
a named factor with matching assignments
See Also
https://cran.r-project.org/package=optmatch
[Package stratamatch version 0.1.9 Index]