Hi Bernardo, Thank you so much. I appreciate it.
Bill ----- Original Message ---- From: Bernardo Rangel Tura <t...@centroin.com.br> To: Bill Hyman <billhym...@yahoo.com> Sent: Wed, February 2, 2011 12:55:56 AM Subject: Re: [R] Matching patients On Tue, 2011-02-01 at 11:01 -0800, Bill Hyman wrote: > 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... > > ______________________________________________ > R-help@r-project.org 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. Hi Bill, The package MatchIt solve your problem. This allow you use several methods for matching and you can use formula for create relations between variable if necessary -- Bernardo Rangel Tura, M.D,MPH,Ph.D National Institute of Cardiology Brazil ______________________________________________ R-help@r-project.org 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.