View source: R/pred_surv_class.R
pred_surv | R Documentation |
pred_surv
Construct a pred_surv
object containing predicted/fitted survival probabilities for multiple individuals in the same sample. Can only hold survival curves of the form of decreasing rightcontinuous step functions.
pred_surv(time, surv)
time |
collection of all unique event times where the predicted/fitted survival function may have a jump. Must be increasing. |
surv |
matrix of predicted/fitted survival probabilities. Each row corresponds to an individual; each column corresponds to an event time in |
If there is no event, set time=Inf
and surv
to be a matrix with only one column of 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.