Gary King Homepage Previous: match.data(): Extracting the Matched Up: match.data(): Extracting the Matched Next: Arguments

Usage

To extract the matched data set for subsequent analyses from the output object (see Section 3.3), we provide the function match.data(). This is used as follows:

> m.data <- match.data(object, group = "all", distance = "distance", 
                       weights = "weights", subclass = "subclass")

The output of the function match.data() is the original data frame where additional information about matching (i.e., distance measure as well as resulting weights and subclasses) is added, restricted to units that were matched.



Gary King 2011-04-26