These functions wrappers around various modelling tools to ensure a
consistent input for trending functions. See details for available model
interfaces.
Usage
glm_model(formula, family, ...)
glm_nb_model(formula, ...)
lm_model(formula, ...)
brms_model(formula, family, ...)
Arguments
formula
The formula of the model, with the response variable on the
left of a tilde symbol, and predictors on the right hand-side; variable
names used in the formula will need to be matched by columns in the data
input to other functions.
family
The model family to be used for the response variable.