check_arm_ref_comp: Check if the Treatment variable is reference or compare
Description
Check Treatment variable type.
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