print.ruleset {tidyrules}R Documentation

Print method for ruleset class

Description

Prints the ruleset object

Usage

## S3 method for class 'ruleset'
print(x, banner = TRUE, ...)

Arguments

x

A rulelist

(flag, default: TRUE) Should the banner be displayed

...

Passed to print.rulelist

Value

(invisibly) Returns the ruleset object

See Also

print.rulelist

Examples

model_class_party = partykit::ctree(species ~ .,
                                    data = palmerpenguins::penguins
                                    )
as_ruleset(tidy(model_class_party))


[Package tidyrules version 0.2.7 Index]