| summary.earth | R Documentation |
Summary method for earth objects.
## S3 method for class 'earth'
summary(object = stop("no 'object' argument"),
details = FALSE, style = c("h", "pmax", "max", "C", "bf"),
decomp = "anova", digits = getOption("digits"), fixed.point=TRUE,
newdata = NULL, ...)
## S3 method for class 'summary.earth'
print(x = stop("no 'x' argument"),
details = x$details,
decomp = x$decomp, digits = x$digits, fixed.point = x$fixed.point,
newdata = x$newdata, ...)
object |
An |
x |
A |
details |
Default is |
style |
Formatting style. One of |
decomp |
Specify how terms are ordered.
Default is |
digits |
The number of significant digits. |
fixed.point |
Method of printing numbers in matrices.
Default is
(Intercept) 15.029
h(temp-58) 0.313
h(234-ibt) -0.046
...
whereas
(Intercept) 1.5e+01
h(temp-58) 3.1e-01
h(234-ibt) -4.6e-02
...
Matrices with two or fewer rows are never printed with a fixed point. |
newdata |
Default |
... |
Extra arguments are passed to |
The value is the same as that returned by earth
but with the following extra components.
strings |
String(s) created by |
newrsq |
Only if |
newdata |
Only if |
digits |
|
details |
|
decomp |
|
fixed.point |
The corresponding arguments, passed on to |
The printed Estimated importance uses evimp
with the nsubsets criterion.
The most important predictor is printed first, and so on.
earth,
evimp,
format.earth
earth.mod <- earth(Volume~ ., data = trees)
summary(earth.mod, digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.