Learn R Programming

mda (version 0.4-10)

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, …)

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.

Value

the fitted values.

See Also

mars, predict, model.matrix.mars