rpart.lists {citrus}R Documentation

rpart.lists function

Description

THIS HAS BEEN COPIED FROM THE ARCHIVED rpart.utils PACKAGE AND THIS CODE WAS WRITTEN BY THE AUTHORS OF THAT PACKAGE Creates lists of variable values (factor levels) associated with each rule in an rpart object.

Usage

rpart.lists(object)

Arguments

object

an rpart object

Value

a list of lists

Examples

library(rpart)
fit<-rpart(Reliability~.,data=car.test.frame)
rpart.lists(fit)

[Package citrus version 1.0.2 Index]