prune.seq | R Documentation |
Show all possible pruned subtrees
prune.seq(tree, eps = 0.01, plot.it = TRUE)
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 |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.