You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rlang::abort("`strata` cannot be a `Surv` object. Use the time or event variable directly.")
}
Given that we've settled on the advice to make the Surv object outside of a recipe, people may not have the individual variables available. Soo we should rethink this.
The text was updated successfully, but these errors were encountered:
We currently don't allow stratification based on
Surv
objects and instead suggest to use the time or event variable directly:rsample/R/misc.R
Lines 105 to 107 in 46de181
Given that we've settled on the advice to make the Surv object outside of a recipe, people may not have the individual variables available. Soo we should rethink this.
The text was updated successfully, but these errors were encountered: