Dear Sirs,

 

 

 

I want to estimate the survival mean of a few specific teams. I'm trying to
calculate it through a Kaplan Meier estimator. For doing so, I load the
"survival" package and run the following instructions: 

 

 

 

"options(survfit.print.mean=TRUE)"      allows showing the mean and mean
standard error 

 

"KM=survfit(Surv(Dias,Censura))"          runs the model

 

"KM"                                     shows the model

 

 

 

It is in this very moment when it shows the mean value and the mean standard
error.

 

I'd like to know if there is any instruction that returns the mean value and
its standard error, something like:

 

 

 

"KM$rmean"

 

 

 

Thank you very much in advanced.

 

 

 

Sincerely yours,

 

 

Alejandro G. Lobo

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to