Learn R Programming

LogicForest (version 2.1.2)

predict.logforest: Predict method for logic forest models

Description

Predicts outcomes for new observations using a fitted logic forest model.

Usage

# S3 method for logforest
predict(object, newdata, cutoff, ...)

Value

An object of class "LFprediction" containing the predicted outcomes.

Arguments

object

An object of class "logforest".

newdata

A data frame containing new observations to predict.

cutoff

A numeric value indicating the proportion of trees that must predict class 1 for an overall prediction of class 1.

...

Additional arguments (currently ignored).