[R] 1 - Survival Plot

Euphoria yeshapatel83 at gmail.com
Fri Mar 26 00:44:39 CET 2010

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 to attain the survival vs. time plot:

plot (survfit (Surv(DTDMRS3, DMRS3) ~ RS2540477, data = wise),
	lty = 1:2:3, mark.DTDMRS3 = 0, ylab = "Probability", xlab = "Survival Time
in Days")
	legend(200, 0.2, legend = c ("CC", "TC", "TT"), lty = c(3, 2, 1), title

View this message in context: http://n4.nabble.com/1-Survival-Plot-tp1691512p1691512.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list