summary.bagEarth: Summarize a bagged earth or FDA fit

Description Usage Arguments Details Value Author(s) Examples

Description

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

Usage

1
2
3
4
## S3 method for class 'bagEarth'
summary(object, ...)
## S3 method for class '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 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

Author(s)

Max Kuhn

Examples

1
2
3
4
5
6
## Not run: 
data(trees)
fit <- bagEarth(trees[,-3], trees[3])
summary(fit)

## End(Not run)

caret documentation built on May 2, 2019, 5:47 p.m.