predic_model.Rd
Predict model using marginaleffects::predictions
function.
predic_model(data_source, model_source, exclude_var = NULL)
Data.frame with values to be predicted upon
Selected model. Can be any of supported models by
marginaleffects
Vector with terms to exclude. This is used only for gam
models