Helper Function to Fit the MMRM and Return LS Mean Estimates and Contrasts
h_summarize_mmrm(
.var,
df_parent,
variables,
ref_arm_level,
ref_visit_levels,
...
)The resulting estimates and contrasts LS means as returned by
tidy.tern_model().
(string)
single variable name that is passed by rtables when requested
by a statistics function.
(data.frame)
data set containing all analysis variables
from all visits and arms.
(named list of string)
list of additional analysis variables.
(string)
the reference arm which should be compared
against.
(character)
the reference visits which should not
be included in the model fit.
additional options passed to fit_mmrm_j().