Description Usage Arguments Value
View source: R/prune_tree_Support.R
Prune an initial rpart tree by "c-standard-error" rule.
1 | treepruner(tree, c, ...)
|
tree |
A initial tree fitted by rpart, needs to an rpart object. |
c |
A scalar to prune the tree by selecting the tree with minum cross-validation error plus the standard error multiplied by c. |
... |
Additional arguments passed to prune.rpart(). |
The pruned tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.