[R] Kaplan-Meier function from survfit

Ritwik Sinha ritwik.sinha at gmail.com
Sat Dec 6 04:10:59 CET 2008


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 given time: \hat{S}(t).

Thanks in advance.

Ritwik Sinha
ritwik.sinha at gmail.com | +12033042111 | http://ritwik.sinha.googlepages.com/



More information about the R-help mailing list