Code
res <- fit_xy(surv_basic, x = lung[, c("age", "sex")], y = lung$time, control = ctrl)
Condition
Error in `fit_xy()`:
! Survival models must use the formula interface.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.