Code
survival_time_survbagg(mod)
Condition
Error in `survival_time_survbagg()`:
! `object` needs to be a parsnip <model_fit> object, not a <survbagg> object.
Code
predict(f_fit, lung, type = "survival")
Condition
Error in `predict()`:
! When using `type` values of "survival" or "hazard" a numeric vector `eval_time` should also be given.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.