Description Usage Arguments Value
function that extract the sequence of nested trees
1 | extract_subtrees(tree, cp)
|
tree |
a tree. A data frame returned by the function |
cp |
a data frame that summarizes the complexity as explained in the example in Breiman (chap 10, 1984). It is the object |
a list containing the sequence of optimal subtrees.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.