The function fits a random forest model using ranger
.
fit_ranger_RF(parms, dependent_variable, covariates_names, training_dataset, my_weights)
parms | list of user-defined parameters. |
---|---|
dependent_variable | character string of the fitted response variable (FOI). |
covariates_names | character vector of covariates names. |
training_dataset | a dataframe of the dataset used for model training. |
my_weights | character string of the name of the column of |
the random forest model object returned by ranger