R/util.R
s_surv_time_1.Rd
survival time afun
s_surv_time_1(df, .var, is_event, control = control_surv_time())
data
variable of interest
vector indicating event
`control_surv_time()` by default
A function suitable for use in rtables::analyze() with element selection, reformatting, and relabeling performed automatically.