[R] What is median in survfit

Remigijus Lapinskas remigijus.lapinskas at mif.vu.lt
Fri Jun 10 16:26:07 CEST 2005


Dear All,

A very simple question:

 > library(survival)
 > fit <- coxph(Surv(time, status) ~ x, data=aml)
 > survfit(fit)
Call: survfit.coxph(object = fit)

       n  events  median 0.95LCL 0.95UCL
      23      18      30      18      45

I believe I know what is median here, but how to extract it?

Many thanks,
Rem




More information about the R-help mailing list