man-roxygen/return_predict.R

#' @return A `numeric` if `type = "risk"`, a [distr6::Matdist()] (if `distr6 = TRUE`)
#' and `type = "survival"`; a `matrix` if (`distr6 = FALSE`) and `type = "survival"` where
#' entries are survival probabilities with rows of observations and columns are time-points;
#' or a list combining above if `type = "all"`.
RaphaelS1/survivalmodels documentation built on July 5, 2024, 10:17 a.m.