rfPermute (version 2.1.81)

plotRFtrace: OOB Trace

Description

Plot trace of cumulative OOB error rate by number of trees

Usage

plotRFtrace(rf, plot = TRUE)

Arguments

rf

an object inheriting from randomForest.

plot

display the plot?

Value

the ggplot2 object is invisibly returned.

Examples

Run this code
# NOT RUN {
data(mtcars)

rf <- randomForest(factor(am) ~ ., mtcars)
plotRFtrace(rf)

# }

Run the code above in your browser using DataLab