powered by
Plot trace of cumulative OOB error rate by number of trees
plotRFtrace(rf, plot = TRUE)
an object inheriting from randomForest.
randomForest
display the plot?
the ggplot2 object is invisibly returned.
ggplot2
# NOT RUN { data(mtcars) rf <- randomForest(factor(am) ~ ., mtcars) plotRFtrace(rf) # }
Run the code above in your browser using DataLab