listRPartRules {rattle}R Documentation

List the rules corresponding to the rpart decision tree

Description

Display a list of rules for an rpart decision tree.

Usage

listRPartRules(model, compact=FALSE)

Arguments

model an rpart model.
compact whether to list cateogricals compactly.

Details

Traverse a decision tree to generate the equivalent set of rules, one rule for each path from the root node to a leaf node.

Author(s)

Graham.Williams@togaware.com

References

Package home page: http://rattle.togaware.com

Examples

## Not run: listRPartRules(ds.rpart)

[Package rattle version 2.2.91 Index]