powered by
Prune an initial rpart tree by "c-standard-error" rule.
treepruner(tree, c, ...)
A initial tree fitted by rpart, needs to an rpart object.
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