R/predictProb.survfit.R

predictProb.survfit <- function (object, response, x, times, train.data=NULL, ...){
   .peperr_survfit_to_matrix(
      survfit_object = object,
      times = times,
      nobs = nrow(x)
   )
}

Try the peperr package in your browser

Any scripts or data that you put into this service are public.

peperr documentation built on March 25, 2026, 9:06 a.m.