Learn R Programming

rpart.utils (version 0.5)

rpart.rules: Returns a list of strings summarizing the branch path to each node.

Description

Returns a list of strings summarizing the branch path to each node.

Usage

rpart.rules(object)

Arguments

object
an rpart object

Examples

Run this code
library(rpart)
fit<-rpart(Reliability~.,data=car.test.frame)
rpart.rules(fit)

Run the code above in your browser using DataLab