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