prune {conTree} | R Documentation |
Prune a contrast tree
Description
Prune a contrast tree
Usage
prune(tree, thr = 0.1)
Arguments
tree |
a tree model object output from contrast |
thr |
a split improvement threshold, default is 0.1 |
Value
a bottom-up pruned tree with splits corresponding to improvement less than threshold thr
removed
[Package conTree version 0.3-1 Index]