Look at the "optmatch" package. ____________________________________________________________________
Ravi Varadhan, Ph.D. Assistant Professor, Division of Geriatric Medicine and Gerontology School of Medicine Johns Hopkins University Ph. (410) 502-2619 email: [email protected] ----- Original Message ----- From: Bill Hyman <[email protected]> Date: Tuesday, February 1, 2011 2:04 pm Subject: [R] Matching patients To: [email protected] > May I ask a clinical question? For a trial, we have a treatment group > of small > size, say 30 patients. We want to selectmatching control patients > from a bigger > group (100 patients) in terms of several clinical variables, such as > age, tumor > stage etc. This practice is to select the closest matching set of > control cases. > I wonder if R has any routine or package that can help with this > problem. Thank > you. Looking forward... > > ______________________________________________ > [email protected] mailing list > > PLEASE do read the posting guide > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

