[R] time grid for "survfit" Survival function outputs

Terry Therneau therneau at mayo.edu
Wed Oct 14 15:58:57 CEST 2009

> ... is it possible we could make survival function outputs on
> the pre-specified time grid with fixed increment and fixed length.

Look at the help file for summary.survfit.  Interpolating the raw data
is somewhat harder than you might think for the "number at risk"

 fit <- survfit(....
 summary(fit, times=c(0,10,20,30,...

  Terry Therneau

More information about the R-help mailing list