Hi, I am conducting a survival analysis and I have been trying, with not success, to do a log-log survival plots. Does anyone know how to do it in R? By the way I am using version 1.0.0 for windows. Many Thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000503/e64aa9ee/attachment.html
log-log plots
2 messages · Marco Togni, Thomas Lumley
On Wed, 3 May 2000, Marco Togni wrote:
Hi, I am conducting a survival analysis and I have been trying, with not success, to do a log-log survival plots. Does anyone know how to do it in R? By the way I am using version 1.0.0 for windows.
plot.survfit has an option for this Eg, expanding on example(plot.survfit) data(aml) leukemia.surv <- survfit(Surv(time, status) ~ x, data = aml) plot(leukemia.surv, lty = 2:3,fun="cloglog") A couple of days ago Rob Gentleman found that this doesn't work if the first observation is censored. I will be putting up a revised survival5 soon, but I can send you the modified file for plot.survfit if necessary. -thomas Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._