Code
predict(f_fit, new_data = dplyr::select(lung, -inst))
Condition
Error in `predict_time()`:
! `new_data` is missing the following stratification variable: `inst`.
Code
predict(f_fit, new_data = dplyr::select(lung, -inst, -ph.ecog))
Condition
Error in `predict_time()`:
! `new_data` is missing the following stratification variables: `inst` and `ph.ecog`.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.