This function generates the standard expression for pre-processing of dataset arm levels in and is used to apply the same steps in safety teal modules.
Arguments
- dataname
(
character
)
analysis data used in teal module.- parentname
(
character
)
parent analysis data used in teal module, usually this refers toADSL
.- arm_var
(
character
)
variable names that can be used asarm_var
.- drop_arm_levels
(
logical
)
drop the unusedarm_var
levels. WhenTRUE
,arm_var
levels are set to those used in thedataname
dataset. WhenFALSE
,arm_var
levels are set to those used in theparantname
dataset.