.check_dichotomous_value {cardx}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

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

[Package cardx version 0.2.1 Index]