Learn R Programming

earth (version 5.3.5)

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

28,221

Version

5.3.5

License

GPL-3

Maintainer

Stephen Milborrow

Last Published

January 11th, 2026

Functions in earth (5.3.5)

update.earth

Update an earth model
predict.varmod

Predict with a varmod model
plot.earth

Plot an earth object
summary.earth

Summary method for earth objects
plotd

Plot the distribution of predictions for each class
residuals.earth

Residuals for an earth model
plot.earth.models

Compare earth models by plotting them.
plot.evimp

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

Predict with an earth model
plot.varmod

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

Variance models for estimating prediction intervals
model.matrix.earth

Get the earth basis matrix
ozone1

Ozone readings in Los Angeles with incomplete cases removed
mars.to.earth

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

Format earth objects
contr.earth.response

Please ignore
earth

Multivariate Adaptive Regression Splines
evimp

Estimate variable importances in an earth object
earth.object

An earth object
etitanic

Titanic data with incomplete cases removed
expand.bpairs

Expand binomial-pair data from short to long form