A formula expression for the classifier model. Expects the form outcome ~ predictors with a single outcome variable. The outcome variable is expected to be of type character.
A data frame consisting of the training data set. Must include all variables described in the formula including the outcome variable.
A data frame consisting of the test set to be predicted. Must include all predictor variables. May include outcome variable.
Number of classifiers to vote on final prediction. Defaults to 5.
Number of trees for each randomForest to grow. Defaults to 500.
Number of variables randomForest randomly samples as candidates at each split. Defaults to the square root of the number of variables in data.
Setting for randomForest do.trace. Defaults to TRUE.