Learn R Programming

psica (version 1.0.2)

predict.psicaTree: Makes predictions for PSICA tree.

Description

Makes predictions for PSICA tree.

Usage

# S3 method for psicaTree
predict(object, prob = FALSE, ...)

Arguments

object

the PSICA tree to be predicted

prob

should the matrix or class probabilities be predicted (TRUE) or the classes themselves (FALSE)

...

further parameters to be passed to 'rpart' object.