plotVotes {rfPermute} | R Documentation |
Plot Vote Distribution
Description
For classification models, plot distribution of votes for each sample in each class.
Usage
plotVotes(x, type = NULL, freq.sep.line = TRUE, plot = TRUE)
Arguments
x |
a |
type |
either |
freq.sep.line |
put frequency of original group on second line in facet
label? If |
plot |
display the plot? |
Value
the ggplot2
object is invisibly returned.
Author(s)
Eric Archer eric.archer@noaa.gov
Examples
library(randomForest)
data(mtcars)
rf <- randomForest(factor(am) ~ ., mtcars)
plotVotes(rf)
[Package rfPermute version 2.5.2 Index]