prune.psicaTree: Prunes a PSICA tree.

Description Usage Arguments

View source: R/psica.R

Description

Prunes a PSICA tree.

Usage

1
2
## 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.


psica documentation built on March 26, 2020, 7:25 p.m.

Related to prune.psicaTree in psica...