powered by
Check the validity of the values passed in ard_dichotomous(value).
ard_dichotomous(value)
.check_dichotomous_value(data, value)
returns invisible if check is successful, throws an error message if not.
(data.frame) a data frame
data.frame
(named list) a named list
list
cards:::.check_dichotomous_value(mtcars, list(cyl = 4))
Run the code above in your browser using DataLab