powered by
Display a list of rules for an rpart decision tree.
asRules(model, compact=FALSE, …)
an rpart model.
whether to list cateogricals compactly.
further arguments passed to or from other methods.
Traverse a decision tree to generate the equivalent set of rules, one rule for each path from the root node to a leaf node.
Package home page: https://rattle.togaware.com
# NOT RUN { asRules.rpart(my.rpart) # }
Run the code above in your browser using DataLab