Re: [R] 1 - Survival Plot

2010-03-26 Thread Euphoria
Thanks for the responses guys! It worked like a charm! =) -- View this message in context: http://n4.nabble.com/1-Survival-Plot-tp1691512p1692516.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https:

Re: [R] 1 - Survival Plot

2010-03-25 Thread Corey Sparks
if you do: fit<-survfit (Surv(DTDMRS3, DMRS3) ~ RS2540477) fit$surv will have the survival function, and fit$time will have the failure times, these should give you what you want Hope this helps Corey - Corey Sparks, PhD Assistant Professor Department of Demography and Organization Studies

Re: [R] 1 - Survival Plot

2010-03-25 Thread Kevin E. Thorpe
Euphoria wrote: Hi all! I have created survival vs. time plots. Now I would like to plot (1 - Survival) vs. time. Is there a way for me to retrieve the survival estimate information, to which I can manually make an adjustment (ie; failure = 1 - survival) before I re-plot this information? Here

[R] 1 - Survival Plot

2010-03-25 Thread Euphoria
Hi all! I have created survival vs. time plots. Now I would like to plot (1 - Survival) vs. time. Is there a way for me to retrieve the survival estimate information, to which I can manually make an adjustment (ie; failure = 1 - survival) before I re-plot this information? Here is the code I use