Learn R Programming

rpart.utils (version 0.5)

rpart.rules.table: Returns an unpivoted table of branch paths (subrules) associated with each node.

Description

Returns an unpivoted table of branch paths (subrules) associated with each node.

Usage

rpart.rules.table(object)

Arguments

object
an rpart object

Examples

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

Run the code above in your browser using DataLab