summary: Diagnostics of 'rfPermute' or 'randomForest' models.

summaryR Documentation

Diagnostics of rfPermute or randomForest models.

Description

Combine plots of error traces and inbag rates.

Usage

## S3 method for class 'randomForest'
summary(object, ...)

## S3 method for class 'rfPermute'
summary(object, ...)

Arguments

object

a rfPermute or randomForest model object to summarize.

...

arguments passed to plotInbag.

Value

A combination of plots from plotTrace and plotInbag as well as summary confusion matrices (classification) or error rates (regression) from the model.

Author(s)

Eric Archer eric.archer@noaa.gov

See Also

plotTrace, plotInbag

Examples

# A regression model using the ozone example
data(airquality)
ozone.rp <- rfPermute(
  Ozone ~ ., data = airquality, na.action = na.omit,
  ntree = 100, nrep = 50, num.cores = 1
)

summary(ozone.rp)
 

rfPermute documentation built on Aug. 24, 2023, 1:08 a.m.