Last data update: 2014.03.03
|
R: Model Predictions
predict.boosted | R Documentation |
Model Predictions
Description
Apply a fitted boosted model to newdata to form predictions. If no newdata is included, returned the fitted values of the model.
Usage
## S3 method for class 'boosted'
predict(object, newdata = NULL, ...)
Arguments
object |
a boosted model returned from fitBoosted
|
newdata |
the new independent variables to use for prediction. This should be a data frame.
|
... |
additional arguments affecting the predictions produced (ignored).
|
Value
predict.boosted produces a numeric vector with the predicted classes from the boosted model.
Results
|