casePredictions {rfPermute} | R Documentation |
Case Predictions
Description
Construct a data frame of case predictions for training data along with vote distributions.
Usage
casePredictions(x)
Arguments
x |
a |
Value
A data frame containing columns of original and predicted cases, whether they were correctly classified, and vote distributions among cases.
Author(s)
Eric Archer eric.archer@noaa.gov
Examples
library(randomForest)
data(mtcars)
rf <- randomForest(factor(am) ~ ., mtcars)
cp <- casePredictions(rf)
cp
[Package rfPermute version 2.5.2 Index]