[R] simulate time data

David Winsemius dwinsemius at comcast.net
Thu Dec 13 05:10:36 CET 2012


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




More information about the R-help mailing list