Learn R Programming

⚠️There's a newer version (5.3.5) of this package.Take me there.

earth (version 2.2-3)

Multivariate Adaptive Regression Spline Models

Description

Build regression models using the techniques in Friedman's papers "Fast MARS" and "Multivariate Adaptive Regression Splines". (The term "MARS" is copyrighted and thus not used in the name of the package.)

Copy Link

Version

Install

install.packages('earth')

Monthly Downloads

19,133

Version

2.2-3

License

GPL-3

Maintainer

Stephen Milborrow

Last Published

January 11th, 2026

Functions in earth (2.2-3)

contr.earth.response

Contrasts for the "earth" response
plot.evimp

Plot an evimp object
summary.earth

Summary method for "earth" objects
update.earth

Update an "earth" model
format.earth

Format "earth" objects
predict.earth

Predict with an "earth" model
residuals.earth

Residuals for an "earth" model
plotmo

Plot the predicted model response
plot.earth

Plot an "earth" object
model.matrix.earth

Get the "earth" basis matrix
mars.to.earth

Convert a "mars" object to an "earth" object
evimp

Estimate variable importances in an "earth" object
etitanic

Titanic data with incomplete cases removed
print.evimp

Print an evimp object
plot.earth.models

Compare "earth" models by plotting them.
ozone1

Ozone readings in Los Angeles with incomplete cases removed
earth

Multivariate Adaptive Regression Splines