Learn R Programming

rpart.utils (version 0.5)

rpart.subrules.table: Returns an unpivoted table of variable values (factor levels) associated with each branch.

Description

Returns an unpivoted table of variable values (factor levels) associated with each branch.

Usage

rpart.subrules.table(object)

Arguments

object
an rpart object

Examples

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

Run the code above in your browser using DataLab