This convenience helper lets users name MAE metadata columns without first
attaching or calling the survival package. More complex time-dependent or
stratified formulas can still be supplied directly to surv_km() and
surv_cox().
Arguments
- time, event
Metadata column names containing follow-up time and event.
- predictors
Optional right-hand-side variable names. These must be sample-metadata columns for
surv_km(). Forsurv_cox(), expression features are also available when the same names are supplied through itsfeaturesargument.
Value
A formula with a survival::Surv() response.