Learn R Programming

validatetools (version 0.6.1)

is_categorical: Check whether rules are categorical

Description

Check whether rules are categorical

Usage

is_categorical(x, ...)

Value

logical indicating which rules are purely categorical/logical

Arguments

x

validator object

...

not used

Examples

Run this code
v <- validator( A %in% c("a1", "a2")
              , B %in% c("b1", "b2")
              , if (A == "a1") B == "b1"
              , y > x
              )

is_categorical(v)

Run the code above in your browser using DataLab