Learn R Programming

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

earth (version 5.3.3)

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

15,132

Version

5.3.3

License

GPL-3

Maintainer

Stephen Milborrow

Last Published

February 26th, 2024

Functions in earth (5.3.3)

format.earth

Format earth objects
expand.bpairs

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

An earth object
contr.earth.response

Please ignore
mars.to.earth

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

Estimate variable importances in an earth object
ozone1

Ozone readings in Los Angeles with incomplete cases removed
model.matrix.earth

Get the earth basis matrix
etitanic

Titanic data with incomplete cases removed
earth

Multivariate Adaptive Regression Splines
plotd

Plot the distribution of predictions for each class
predict.varmod

Predict with a varmod model
plot.varmod

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

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

Plot an earth object
summary.earth

Summary method for earth objects
plot.earth.models

Compare earth models by plotting them.
varmod

Variance models for estimating prediction intervals
update.earth

Update an earth model
residuals.earth

Residuals for an earth model
predict.earth

Predict with an earth model