[R] Extended Survival Plot Lines
mtkent89 at gmail.com
Thu Mar 8 22:33:59 CET 2012
I've obtained a survival plot from the following code:
s = Surv(outcome.[,1], outcome.[,2])
survplot= (survfit(s ~ person.list[,1]))
plot(survplot, mark.time = FALSE)
person.list is just a list of 15 people.
When I plot this, the lines on my plot all end at different time points. Is
there a way to extend all the lines to make them end at a certain time
point? (i.e outcome.[,1] is a time to event variable and I would like the
survival lines on the plot to extend out to say 5(years) )
View this message in context: http://r.789695.n4.nabble.com/Extended-Survival-Plot-Lines-tp4457737p4457737.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help