[R] survsplit and multiple event indicators

From: Williams Scott <Scott.Williams_at_petermac.org>
Date: Wed, 27 Jun 2007 08:35:00 +1000

Hi all,

I have a dataset of censored observations which contains 2 variables which I wish to account for in a time-dependent manner (tumour recurrence and subsequent treatment of that recurrence). Hence I need to convert the data to counting process notation. survSplit and the like do a nice job of doing this for a single event variable - is there anything that can do it for 2 or more events? Can survSplit be adapted or is there another way (which saves me having to write my own code)?




Scott Williams MD

Peter MacCallum Cancer Centre

Melbourne, Australia

R-help_at_stat.math.ethz.ch 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. Received on Tue 26 Jun 2007 - 22:39:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Jun 2007 - 00:32:35 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.