prune.psicaTree {psica} | R Documentation |
Prunes a PSICA tree.
Description
Prunes a PSICA tree.
Usage
## S3 method for class 'psicaTree'
prune(pT, cp = 0.001, ...)
Arguments
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. |
[Package psica version 1.0.2 Index]