Learn R Programming

earth (version 5.3.6)

Multivariate Adaptive Regression Splines

Description

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

Copy Link

Version

Install

install.packages('earth')

Monthly Downloads

14,735

Version

5.3.6

License

GPL-3

Maintainer

Stephen Milborrow

Last Published

August 21st, 2026

Functions in earth (5.3.6)

update.earth

Update an earth model
plot.varmod

Plot a varmod object (created by calling earth with the varmod argument)
predict.varmod

Predict with a varmod model
plot.evimp

Plot an evimp object (created by the evimp function)
plot.earth.models

Compare earth models by plotting them.
summary.earth

Summary method for earth objects
residuals.earth

Residuals for an earth model
plotd

Plot the distribution of predictions for each class
predict.earth

Predict with an earth model
varmod

Variance models for estimating prediction intervals
plot.earth

Plot an earth object
ozone1

Ozone readings in Los Angeles with incomplete cases removed
expand.bpairs

Expand binomial-pair data from short to long form
earth.object

An earth object
model.matrix.earth

Get the earth basis matrix
evimp

Estimate variable importances in an earth object
contr.earth.response

Please ignore
format.earth

Format earth objects
mars.to.earth

Convert a mars object from the mda package to an earth object
earth

Multivariate Adaptive Regression Splines
etitanic

Titanic data with incomplete cases removed