ruleset {dataverifyr}R Documentation

Creates a set of rules

Description

Creates a set of rules

Usage

ruleset(...)

## S3 method for class 'ruleset'
print(x, n = 3, ...)

Arguments

...

a list of rules

x

a ruleset to print

n

a maximum number of rules to print

Value

the list of rules as a ruleset

Methods (by generic)

Examples

r1 <- rule(mpg > 10)
r2 <- rule(mpg < 20)
rs <- ruleset(r1, r2)
rs

rs <- ruleset(
  rule(cyl %in% c(4, 6, 8)),
  rule(is.numeric(disp))
)
rs

[Package dataverifyr version 0.1.8 Index]