Ranger model fitR/fit_ranger_RF_and_make_predictions.R
make_ranger_predictions.RdThe functions makes predictions using a Ranger model object and a dataset of covariates.
make_ranger_predictions(mod_obj, dataset, covariates_names)
| mod_obj | the random forest model object returned by |
|---|---|
| dataset | the dataframe of the covariate dataset for which to make new predictions. |
| covariates_names | character vector of covariates names. |