rfPermute (version 2.1.81)

casePredictions: Case Predictions

Description

Get data frame of case predictions for training data along with vote distributions.

Usage

casePredictions(rf)

Arguments

rf

an object inheriting from randomForest.

Value

A data frame containing columns of original and predicted cases, whether they were correctly classified, and vote distributions.

Examples

Run this code
# NOT RUN {
data(mtcars)

rf <- randomForest(factor(am) ~ ., mtcars)
casePredictions(rf)

# }

Run the code above in your browser using DataLab