assembleMatch {matchMulti} | R Documentation |
Collect Matched Samples
Description
After students and schools have both been matched separately, assembles the matched student samples corresponding to the school match into a single dataframe of student-level data.
Usage
assembleMatch(student.matches, school.match, school.id, treatment)
Arguments
student.matches |
a list of lists object produced by
|
school.match |
a dataframe, produced by |
school.id |
the name of the column storing the unique school identifier
(in the dataframes stored in |
treatment |
the name of the column storing the binary treatment status
indicator (in the dataframes stored in |
Value
a dataframe containing the full set of matched samples for the multilevel match.
Author(s)
Luke Keele, Penn State University, ljk20@psu.edu
Sam Pimentel, University of California, Berkeley, spi@berkeley.edu