Analysis Function for TEFOS03 and Related Table Layouts
tefos03_afun(df, .var, .spl_context, variables, control, formats)(data.frame)
data set containing all analysis variables.
(string)
single variable name that is passed by rtables when requested
by a statistics function.
(data.frame)
gives information about ancestor split states
that is passed by rtables.
(list)
see tern::fit_coxreg_multivar() for required variable
specifications.
(list)
from tern::control_coxreg().
(list)
including coef_se, hr_est, hr_ci and pval formats.