View source: R/casePredictions.R
casePredictions | R Documentation |
Construct a data frame of case predictions for training data along with vote distributions.
casePredictions(x)
x |
a |
A data frame containing columns of original and predicted cases, whether they were correctly classified, and vote distributions among cases.
Eric Archer eric.archer@noaa.gov
library(randomForest)
data(mtcars)
rf <- randomForest(factor(am) ~ ., mtcars)
cp <- casePredictions(rf)
cp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.