Description Usage Arguments Value Examples
Builds an entire PFA list of lists based on a single tree
1 2 | ## S3 method for class 'rpart'
build_model(object, ...)
|
object |
a object of class "rpart" |
... |
further arguments passed to or from other methods |
a list
of lists representation of the tree that can be
inserted into a cell or pool
1 2 | model <- rpart::rpart(Kyphosis ~ Age + as.factor(Number), data = rpart::kyphosis)
my_tree <- build_model(model)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.