# summary.bagEarth

From caret v5.07-001
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 class 'bagEarth':
summary(object, ...)
## S3 method for class 'bagFDA':
summary(object, ...)
```

##### 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 of the bootstrap samples.

##### Value

- a list with elements
modelInfo a matrix with the number of model terms and variables used oobStat a summary of the out-of-bag statistics bmarsCall the original call to `bagEarth`

##### Examples

```
data(trees)
fit <- bagEarth(trees[,-3], trees[3])
summary(fit)
```

*Documentation reproduced from package caret, version 5.07-001, License: GPL-2*

### Community examples

Looks like there are no examples yet.