rpart.lists | R Documentation |
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.
rpart.lists(object)
object |
an rpart object |
a list of lists
library(rpart) fit<-rpart(Reliability~.,data=car.test.frame) rpart.lists(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.