View source: R/print.LFprediction.R
| print.LFprediction | R Documentation |
Displays predictions from a logic forest model, including the predicted classes and, for classification models, the proportion of trees predicting a class of one.
## S3 method for class 'LFprediction'
print(x, ...)
x |
An object of class |
... |
Additional arguments (currently ignored). |
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.
No return value. This function is called for its side effects (printing).
Bethany Wolf wolfb@musc.edu
predict.logforest
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.