prune.seq {conTree} | R Documentation |
Show all possible pruned subtrees
Description
Show all possible pruned subtrees
Usage
prune.seq(tree, eps = 0.01, plot.it = TRUE)
Arguments
tree |
a tree model object output from contrast |
eps |
small increment defining grid of threshold values |
plot.it |
a logical flag indicating plot/don't plot of number of nodes versus threshold value for all pruned subtrees, default |
Value
a named list of two items:
-
thr
a set of threshold values that sequentially reduce tree size -
nodes
the corresponding tree sizes (number of terminal nodes)
[Package conTree version 0.3-1 Index]