Prunes a PSICA tree.
1 2 | ## S3 method for class 'psicaTree'
prune(pT, cp = 0.001, ...)
|
pT |
the PSICA tree to be pruned. |
cp |
Cost complexity parameter that defines how much the tree must be pruned. See rpart::control() for description of the cost-complexity parameter. |
... |
further parameters to be passed to 'rpart' object. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.