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@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