Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predict.mars

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


mda

Mixture and Flexible Discriminant Analysis

v0.5-2
GPL-2
Authors
S original by Trevor Hastie & Robert Tibshirani. Original R port by Friedrich Leisch, Kurt Hornik and Brian D. Ripley. Balasubramanian Narasimhan has contributed to the upgrading of the code.
Initial release
2020-06-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.