Each row corresponds to a rule. A rule can be copied into `dplyr::filter` to filter the observations corresponding to a rule

tidyRules(object, col_classes = NULL, ...)

Arguments

object

Fitted model object with rules

col_classes

Named list or a named character vector of column classes. Column names of the data used for modeling form the names and the respective classes for the value. One way of obtaining this is by running `lapply(data, class)`.

...

Other arguments (currently unused)

Value

A tibble where each row corresponds to a rule

Details

tidyRule supports these rule based models: C5, Cubist and rpart.