Learn R Programming

DidacticBoost (version 0.1.1)

predict.boosted: 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

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