There's just one more step you need to do after following the example given in the help page for GenMatch(). If you call the object returned by Match() "mout" as in the example, you can use mout$index.treated and mout$index.control, e.g. rbind(X[mout$index.treated, ], X[mout$index.control, ])
to get the matched dataset.
------------------------------
Lauren Samuels
PhD candidate, Department of Biostatistics
Vanderbilt University School of Medicine
Original Message:
Sent: 04-26-2016 23:39
From: Siqi Chen
Subject: Genetic Matching
Is there anyone know how I can output the matched dataset from the Matching R package for genetic mathing ?
Thank you so so much !
------------------------------
Siqi Chen
------------------------------