.check_for_missing_combos_in_denom {cards} | R Documentation |
Check for Missing Levels in denominator
Description
When a user passes a data frame in the denominator
argument, this function
checks that the data frame contains all the same levels of the by
and strata
variables that appear in data
.
Usage
.check_for_missing_combos_in_denom(data, denominator, by, strata)
Arguments
data |
( |
denominator |
( |
by |
( |
strata |
( |
Value
returns invisible if check is successful, throws an error message if not.
Examples
cards:::.check_for_missing_combos_in_denom(ADSL, denominator = "col", by = "ARM", strata = "AGEGR1")
[Package cards version 0.2.2 Index]