Retrieve formulas from model objects This function is primarily an internal helper function in jtools and related packages to standardize the different types of formula objects used by different types of models.
Retrieve formulas from model objects
This function is primarily an internal helper function in jtools and
related packages to standardize the different types of formula objects used
by different types of models.
get_formula(model, ...) ## Default S3 method: get_formula(model, ...) ## S3 method for class 'brmsfit' get_formula(model, resp = NULL, dpar = NULL, ...)
model |
The fitted model object. |
... |
Ignored. |
resp |
For |
dpar |
For |
data(mtcars) fit <- lm(mpg ~ cyl, data = mtcars) get_formula(fit)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.