Returns a subtree of an evaluation tree
Returns a subtree of an evaluation tree. The subtree has a specified number of leafs. The evaluation tree is calculated by "densplit" function. To find out the possible values for the number of leaves we use function "prune".
an overfitting evaluation tree with information on the possible pruning nodes; output of function "prune"
positive integer; number of leaves in the subtree to be returned
Returns an evaluation tree, see the documentation of function "eval.cart"
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.