Re: [R] Kaplan-Meier function from survfit

2008-12-05 Thread Marc Schwartz
on 12/05/2008 09:10 PM Ritwik Sinha wrote: > Hi All, > > Please pardon me if I am missing something obvious here. How do I get > the Kaplan-Meier estimate function that is created by survfit and > plotted by the code. > > fit <- survfit(Surv(time, status) , data=aml) > plot(fit) > > That is, I n

[R] Kaplan-Meier function from survfit

2008-12-05 Thread Ritwik Sinha
Hi All, Please pardon me if I am missing something obvious here. How do I get the Kaplan-Meier estimate function that is created by survfit and plotted by the code. fit <- survfit(Surv(time, status) , data=aml) plot(fit) That is, I need a function that will give me the survival estimate at a giv