Learn R Programming

mda (version 0.5-4)

predict.mars: Predict method for MARS Objects

Description

Predicted values based on `mars' multivariate adaptive regression spline models.

Usage

# S3 method for mars
predict(object, newdata, ...)

Value

the fitted values.

Arguments

object

an object of class "mars".

newdata

values at which predictions are to be made.

...

further arguments to be passed to or from methods.

See Also

mars, predict, model.matrix.mars