Description
The function prune
removes nodes in a tree
whose height is greater than a given threshold.
Usage
prune(.tree, max_height = 1L)# S3 method for rtree
prune(.tree, max_height = 1L)
Arguments
max_height
integer. The height imposed to the new tree.