predict.mars {mda}R Documentation

Predict method for MARS Objects

Description

Predicted values based on ‘mars’ multivariate adaptive regression spline models.

Usage

## S3 method for class '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


[Package mda version 0.5-4 Index]