Learn R Programming

rfPermute (version 2.5.2)

summary: Diagnostics of rfPermute or randomForest models.

Description

Combine plots of error traces and inbag rates.

Usage

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

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

Value

A combination of plots from plotTrace and

plotInbag as well as summary confusion matrices (classification) or error rates (regression) from the model.

Arguments

object

a rfPermute or randomForest model object to summarize.

...

arguments passed to plotInbag.

Author

Eric Archer eric.archer@noaa.gov

See Also

plotTrace, plotInbag

Examples

Run this code
# 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)
 

Run the code above in your browser using DataLab