plotVotes | R Documentation |
For classification models, plot distribution of votes for each sample in each class.
plotVotes(x, type = NULL, freq.sep.line = TRUE, plot = TRUE)
x |
a |
type |
either |
freq.sep.line |
put frequency of original group on second line in facet
label? If |
plot |
display the plot? |
the ggplot2
object is invisibly returned.
Eric Archer eric.archer@noaa.gov
library(randomForest)
data(mtcars)
rf <- randomForest(factor(am) ~ ., mtcars)
plotVotes(rf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.