The functions makes predictions using a Ranger model object and a dataset of covariates.

make_ranger_predictions(mod_obj, dataset, covariates_names)

Arguments

mod_obj

the random forest model object returned by ranger.

dataset

the dataframe of the covariate dataset for which to make new predictions.

covariates_names

character vector of covariates names.