In S-plus estimates of percentiles for a survival function can be obtained using the qkaplanMeier function (on the results of a call to kaplanMeier) like that:
kfit <-kaplanMeier(censor(TIME,STATUS)~1)
qkaplanMeier(kfit, c(.25, .5, .75))
How can I do this in R?. Those functions do not exist anymore. What if I also want the (asymptotic) confidence intervals for the percentiles? How can I get the mean for the survival time?