predict.logforest: Predict method for logic forest models

View source: R/predict.logforest.R

predict.logforestR Documentation

Predict method for logic forest models

Description

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

Usage

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

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).

Value

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


LogicForest documentation built on Aug. 8, 2025, 7:46 p.m.