Learn R Programming

emil (version 2.0.2)

fit_randomForest: Fit random forest.

Description

Directly calling the randomForest package implementation. See randomForest for parameter specification.

Usage

fit_randomForest(x, y, prediction = FALSE, ...)

Arguments

x
Dataset, numerical matrix with observations as rows.
y
Class labels, factor.
prediction
Whether to calculate permuted OOB error as a feature prediction measure, see predict.randomForest. Set to FALSE to speed up computation.
...
Sent to randomForest.

Value

  • Fitted random forest.

See Also

emil, predict_randomForest, importance_randomForest, modeling_procedure