An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110519/1e0ab826/attachment.pl>
K-M probability for each subject
2 messages · hsu ya-hui, David Winsemius
On May 19, 2011, at 5:20 PM, hsu ya-hui wrote:
Dear R-user, I would like to get the survival probability (surv) for each subject id. That is, I want to have additional column surv as follows:
The survival probability for each subject is 1 until death and 0 thereafter.
id OS OS_DUR surv
____________________ eg: fitKM<-survfit(Surv(OS_DUR,OS)~1,data=data) fitKM$surv # this will only give me survival probability and I do not know the corresponding id Any one knows how to get the probability?
What do you really want?
David Winsemius, MD West Hartford, CT