Learn R Programming

LogicForest (version 2.1.3)

print.LFprediction: Print Method for Logic Forest Predictions

Description

Displays predictions from a logic forest model, including the predicted classes and, for classification models, the proportion of trees predicting a class of one.

Usage

# S3 method for LFprediction
print(x, ...)

Value

No return value. This function is called for its side effects (printing).

Arguments

x

An object of class "LFprediction".

...

Additional arguments (currently ignored).

Author

Bethany Wolf wolfb@musc.edu

Details

For classification models, this method prints the predicted classes for each observation and the proportion of trees in the logic forest that predict class 1. For linear regression models, it prints the predicted values and, if available, the out-of-bag mean squared error.

See Also

predict.logforest