is_categorical {validatetools} | R Documentation |
Check if rules are categorical
Description
Check if rules are categorical
Usage
is_categorical(x, ...)
Arguments
x |
validator object |
... |
not used |
Value
logical indicating which rules are purely categorical/logical
Examples
v <- validator( A %in% c("a1", "a2")
, B %in% c("b1", "b2")
, if (A == "a1") B == "b1"
, y > x
)
is_categorical(v)
[Package validatetools version 0.5.2 Index]