prepare_arm_levels {teal.modules.clinical} | R Documentation |
Expression: Prepare Arm Levels
Description
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.
Usage
prepare_arm_levels(dataname, parentname, arm_var, drop_arm_levels = TRUE)
Arguments
dataname |
( |
parentname |
( |
arm_var |
( |
drop_arm_levels |
( |
Value
a {
object. See base::Paren()
for details.
Examples
prepare_arm_levels(
dataname = "adae",
parentname = "adsl",
arm_var = "ARMCD",
drop_arm_levels = TRUE
)
prepare_arm_levels(
dataname = "adae",
parentname = "adsl",
arm_var = "ARMCD",
drop_arm_levels = FALSE
)
[Package teal.modules.clinical version 0.9.1 Index]