check_arm_ref_comp: Check if the Treatment variable is reference or compare
Description
![[Stable]](figures/lifecycle-stable.svg?package=teal.modules.clinical&version=0.10.0)
Usage
check_arm_ref_comp(x, df_to_check, module)
Value
TRUE
or FALSE
whether the variable is in ref or comp
Arguments
- x
(character
)
Name of the variable
- df_to_check
(data.frame
)
table to check
- module
(character
)
teal module the ref and comp are called in