Description
generates a random forest model.
Usage
rf_model(data, variable.pred, ntree = 500, mtry = 1)
Arguments
- data
dataframe
- variable.pred
the name of the variable to be predicted.
- ntree
the ntree parameter of the model.
- mtry
the mtry parameter of the model.