Description Usage Arguments Details Value Examples
Fit a classification or regression tree model to data, and automatically prune the tree based on the cross-validation error.
1 |
... |
Arguments provided to |
First a tree model is fit. Then the model is pruned such that it has the fewest number of splits that yield a mean cross-validation error less than the minimum cross-validation error plus one standard error.
An object of class rpart. See rpart.object
.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.