assembleMatch: Collect Matched Samples

Description Usage Arguments Value Author(s)


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.


assembleMatch(student.matches, school.match,, treatment)



a list of lists object produced by matchStudents, with each element of the second list containing a dataframe composed of a matched sample for a different treated-control school pairing.


a dataframe, produced by matchSchools, with two columns, one containing treated school IDs and the other containing matched control school IDs.

the name of the column storing the unique school identifier (in the dataframes stored in student.matches)


the name of the column storing the binary treatment status indicator (in the dataframes stored in student.matches)


a dataframe containing the full set of matched samples for the multilevel match.


Luke Keele, Penn State University,

Sam Pimentel, University of Pennsylvania,

Search within the matchMulti package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.