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.