Learn R Programming

multivarious (version 0.2.0)

rf_classifier: construct a random forest wrapper classifier

Description

Given a model object (e.g. projector construct a random forest classifier that can generate predictions for new data points.

Usage

rf_classifier(x, colind, ...)

Value

a random forest classifier

Arguments

x

the model object

colind

the (optional) column indices used for prediction

...

extra arguments to randomForest function