h_mmrm_subgroup_df {tern.mmrm} | R Documentation |
Helper for Extraction and Formatting of MMRM Subgroups
Description
This is an internal helper to extract the correct LS mean estimates and contrast for a specific visit and treatment arm relative to the reference arm for one MMRM subgroup.
Usage
h_mmrm_subgroup_df(
lsmeans,
overall_fit,
is_in_subset,
visit,
treatment_arm,
subgroup,
var,
label
)
Arguments
lsmeans |
(named |
overall_fit |
( |
is_in_subset |
( |
visit |
( |
treatment_arm |
( |
subgroup |
( |
var |
( |
label |
( |
Value
List with estimates
(with 2 rows) and contrasts
(with 1 row) in the
format needed in extract_mmrm_subgroups()
.
[Package tern.mmrm version 0.3.0 Index]