is_flag_drop: Check if cut expression should be dropped
Description
Determines if a cut expression should be dropped (e.g., variable has <=1 unique value).
Usage
is_flag_drop(thiscut, confounders.name, df)
Value
Logical; TRUE if should be dropped, FALSE otherwise.
Arguments
- thiscut
Character string of the cut expression.
- confounders.name
Character vector of confounder names.
- df
Data frame.