see: [R] How to access results of survival analysis Xiaochun Li (06 May 2006)
At 15:03 24.05.2006 +0200, David Hajage wrote:> Hello R users !
>
>Here a survfit object :
>
>library(survival)
>
>essai <- aml[aml$x == "Maintained",]
>
>calc <- survfit(Surv(essai$time, 1 - essai$status))
>
>calc
>
>Call: survfit(formula = Surv(essai$time, 1 - essai$status))
>
> n events median 0.95LCL 0.95UCL
> 11 4 103 28 Inf
>I would like to get the median of the object "calc"...
>For example,
>
>med <- calc$median
>
>But it doesn't work... How can I do this ?
>
>--
>David
>
>
>--
>David
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>