# summary.bagEarth

From caret v6.0-80
by Max Kuhn

##### Summarize a bagged earth or FDA fit

The function shows a summary of the results from a bagged earth model

- Keywords
- manip

##### Usage

```
# S3 method for bagEarth
summary(object, ...)
```# S3 method for bagFDA
summary(object, ...)

##### Arguments

- object
an object of class "bagEarth" or "bagFDA"

- …
optional arguments (not used)

##### Details

The out-of-bag statistics are summarized, as well as the distribution of the number of model terms and number of variables used across all the bootstrap samples.

##### Value

a list with elements

a matrix with the number of model terms and variables used

a summary of the out-of-bag statistics

the original call to `bagEarth`

##### Examples

```
# NOT RUN {
# }
# NOT RUN {
data(trees)
set.seed(9655)
fit <- bagEarth(trees[,-3], trees[3])
summary(fit)
# }
# NOT RUN {
# }
```

*Documentation reproduced from package caret, version 6.0-80, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.