powered by
Plot confusion matrix heatmap.
plotConfMat(rf, title = NULL, plot = TRUE)
an object inheriting from randomForest.
randomForest
a title for the plot.
display the plot?
the ggplot2 object is invisibly returned.
ggplot2
# NOT RUN { data(mtcars) rf <- randomForest(factor(am) ~ ., mtcars) plotConfMat(rf) # }
Run the code above in your browser using DataLab