[R] [R-pkgs] New package "earth"

From: Stephen Milborrow <milbo_at_sonic.net>
Date: Thu, 10 May 2007 16:03:25 -0700


The "earth" package is now available on CRAN.

Earth builds models using Friedman's MARS.

Earth's principal advantages over the existing function mda::mars are that it is much faster and provides plotting and printing methods. The general purpose model plotting function "plotmo" may also be useful to people who are not interested in earth itself.

Example:

> a <- earth(Volume ~ ., data = trees)
> summary(a, digits = 2)

Call:
earth(formula = Volume ~ ., data = trees)

Expression:
  23

  +  5.7 * pmax(0,  Girth - 13)
  -  2.9 * pmax(0,  13 - Girth)
  + 0.72 * pmax(0, Height - 76)

Number of cases: 31
Selected 4 of 5 terms, and 2 of 2 predictors Number of terms at each degree of interaction: 1 3 (additive model) GCV: 11 RSS: 213 GRSq: 0.96 RSq: 0.97

Regards,
Stephen Milborrow



R-packages mailing list
R-packages_at_stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-packages

R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 11 May 2007 - 07:20:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 11 May 2007 - 09:31:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.