On Dec 12, 2012, at 6:34 PM, Jichun Chan wrote:

Hi,
Does anyone know how to write a command to generate time-to-event data for Cox's regression?


There are examples in the rms package for the cph function. I also see example in the help pages for the survival package.


--
David Winsemius, MD
Alameda, CA, USA

______________________________________________
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.

Reply via email to