R/vibration.R
run_model.Rd
Dispatches to lm(), survival::coxph(), or glm() based on family.
lm()
survival::coxph()
glm()
run_model(form, data, family = "gaussian", ...)
A formula.
A data frame.
One of "gaussian", "cox", or "binomial".
"gaussian"
"cox"
"binomial"
Additional arguments passed to the model fitting function.
A fitted model object.