Extract predictions from a random forest model

rf_predictions(caret.rf, yvals)

Arguments

caret.rf

A randomForest model generated by caret

yvals

Feature in the experimental design data frame to use as data labels

Value

rf.predict A vector of predictions from the randomForest model