Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

summary.bagEarth

Summarize a bagged earth or FDA fit


Description

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

Usage

## 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 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

## Not run: 
data(trees)
set.seed(9655)
fit <- bagEarth(trees[,-3], trees[3])
summary(fit)

## End(Not run)

caret

Classification and Regression Training

v6.0-86
GPL (>= 2)
Authors
Max Kuhn [aut, cre], Jed Wing [ctb], Steve Weston [ctb], Andre Williams [ctb], Chris Keefer [ctb], Allan Engelhardt [ctb], Tony Cooper [ctb], Zachary Mayer [ctb], Brenton Kenkel [ctb], R Core Team [ctb], Michael Benesty [ctb], Reynald Lescarbeau [ctb], Andrew Ziem [ctb], Luca Scrucca [ctb], Yuan Tang [ctb], Can Candan [ctb], Tyler Hunt [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.