rfPermute (version 2.1.81)

plotOOBtimes: Plot Times OOB

Description

Plot histogram of times samples were OOB.

Usage

plotOOBtimes(rf, bins = NULL, plot = TRUE)

Arguments

rf

an object inheriting from randomForest.

bins

number of bins in histogram. Defaults to number of samples / 5.

plot

display the plot?

Value

the ggplot2 object is invisibly returned.

Examples

Run this code
# NOT RUN {
data(mtcars)

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

# }

Run the code above in your browser using DataLab