match.data {MatchIt} | R Documentation |
match.data
outputs matched data sets from
matchit()
.
match.data <- match.data(object, group="all", distance = "distance", weights = "weights", subclass = "subclass")
object |
The output object from {tt matchit()}. This is a required input. |
group |
This argument specifies for which matched group the user
wants to extract the data. Available options are "all" (all
matched units), "treat" (matched units in the treatment
group), and "control" (matched units in the control
group). The default is "all" .
|
distance |
This argument specifies the variable name used to
store the distance measure. The default is "distance" .
|
weights |
This argument specifies the variable name used to store
the resulting weights from matching. The default is
"weights" .
|
subclass |
This argument specifies the variable name used to store the
subclass indicator. The default is "subclass" .
|
Returns a subset of the original data set sent to
|
Daniel Ho <daniel.ho@yale.edu>; Kosuke Imai <kimai@princeton.edu>; Gary King <king@harvard.edu>; Elizabeth Stuart<stuart@stat.harvard.edu>
Please use help.matchit
to access the matchit reference
manual. The complete document is available online at
http://gking.harvard.edu/matchit.