strata {optmatch} | R Documentation |
Identify Stratafication Variables
Description
This is a special function used only in identifying the strata variables
when defining an exactMatch
during a call to fullmatch
,
pairmatch
, or match_on
. It should not be called externally.
Usage
strata(...)
Arguments
... |
any number of variables of the same length. |
Value
the variables with appropriate labels
Examples
data(nuclearplants)
fullmatch(pr ~ cost + strata(pt), data = nuclearplants)
[Package optmatch version 0.10.7 Index]