ruleset | R Documentation |
Creates a set of rules
ruleset(...)
## S3 method for class 'ruleset'
print(x, n = 3, ...)
... |
a list of rules |
x |
a ruleset to print |
n |
a maximum number of rules to print |
the list of rules as a ruleset
print(ruleset)
: Prints a ruleset
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.