[R] removing values from a survival curve

Terry Therneau therneau at mayo.edu
Mon Mar 12 13:29:03 CET 2012


On Sat, 2012-03-10 at 12:00 +0100, r-help-request at r-project.org wrote:
> Hi All,
> 
>              s = Surv(outcome.[,1], outcome.[,2])
>              survplot= (survfit(s ~ person.list[,1]))
>              
>              summary(survplot)
> 
> This prints a summary of all the curves at specified time intervals of
> events.  Is there a way to suppress this summary to only display a
> summary
> of the values above a certain time point? (i.e summary(survplot, ONLY
> survplot$time > 3) )
> 
> 

help(summary.survfit), look at the times argument



More information about the R-help mailing list