This function predicts the expected output by a MARS
object.
# S3 method for MARSAdapted
predict(object, newdata, x, class = 1, ...)data.frame with the predicted values.
A MARSAdapted object.
data.frame. Set of input variables to predict on.
Inputs index.
Model for prediction. 1 MARS Boost without smoothing
procedure.2 MARS Boost with smoothing procedure..
further arguments passed to or from other methods.