.check_dichotomous_value {cards} | R Documentation |
Check the validity of the values passed in ard_dichotomous(value)
.
.check_dichotomous_value(data, value)
data |
( |
value |
(named |
returns invisible if check is successful, throws an error message if not.
cards:::.check_dichotomous_value(mtcars, list(cyl = 4))