.check_dichotomous_value {cards}R Documentation

Perform Value Checks

Description

Check the validity of the values passed in ard_dichotomous(value).

Usage

.check_dichotomous_value(data, value)

Arguments

data

(data.frame)
a data frame

value

(named list)
a named list

Value

returns invisible if check is successful, throws an error message if not.

Examples

cards:::.check_dichotomous_value(mtcars, list(cyl = 4))

[Package cards version 0.2.2 Index]