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
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:
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
2 matches
Mail list logo