strata function

Identify Stratafication Variables

Identify Stratafication Variables

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.

strata(...)

Arguments

  • ...: any number of variables of the same length.

Returns

the variables with appropriate labels

Examples

data(nuclearplants) fullmatch(pr ~ cost + strata(pt), data = nuclearplants)