Determines a nested sequence of subtrees of the supplied
DStree object by recursively snipping off the
least important splits, based on the complexity parameter
(cp).
Usage
snip(tree, cp)
Arguments
tree
a fitted object of class "DStree"
cp
complexity parameter to which the DStree
object will be trimmed
Value
A new DStree object that is trimmed to the value
cp.