Displaying 1 result from an estimated 1 matches for "thesurvival".
2012 Mar 08
1
Extended Survival Plot Lines
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]