[R] case-cohort sampling
Frank E Harrell Jr
fharrell at virginia.edu
Thu May 23 12:53:56 CEST 2002
I don't know if this does exactly what you want but look at the Hmisc library find.matches and matchCases functions:
You may be able to modify them for what you want.
On Thu, 23 May 2002 09:22:50 +0200
Stefano <stecalza at tiscali.it> wrote:
> I've a dataframe with about 46000 women with about 500 cases (cancers). I
> want to define a case-cohort sampling scheme, matching by age and hospital
> centre. Is there anyone who has already written a code for that? It should
> be something similar to the stcacoh macro in Stata.
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
Frank E Harrell Jr Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine http://hesweb1.med.virginia.edu/biostat
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help