aorsf_internal | R Documentation |
Internal helper function for aorsf objects
survival_prob_orsf(object, new_data, eval_time, time = deprecated())
object |
A model object from |
new_data |
A data frame to be predicted. |
eval_time |
A vector of times to predict the survival probability. |
time |
Deprecated in favor of |
A tibble with a list column of nested tibbles.
library(aorsf)
aorsf <- orsf(na.omit(lung), Surv(time, status) ~ age + ph.ecog, n_tree = 10)
preds <- survival_prob_orsf(aorsf, lung[1:3, ], eval_time = c(250, 100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.