powered by
Construct a data frame of case predictions for training data along with vote distributions.
casePredictions(x)
A data frame containing columns of original and predicted cases, whether they were correctly classified, and vote distributions among cases.
a rfPermte or randomForest model object.
rfPermte
randomForest
Eric Archer eric.archer@noaa.gov
library(randomForest) data(mtcars) rf <- randomForest(factor(am) ~ ., mtcars) cp <- casePredictions(rf) cp
Run the code above in your browser using DataLab