Description Usage Arguments Value Note See Also
Extracts a subtree from a tree object of the classes
treethresh or wtthresh by pruning
according to a specified value of the complexity parameter C.
1 2 3 4 |
object |
An object of the class |
C |
The value of the complexity parameter C to be used for the pruning. |
subtree returns an object of the class
treethresh or wtthresh that contains a
tree pruned at value C (see the function prune
for details on the pruning process).
Use the function prune to carry out the pruning without
having to specify the complexity parameter C.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.