powered by
Grab the LHS formula from a model object
grab_response_formula(model)
the left-hand side of a model's formula object
formula
a model object such as lm, glm, merMod
lm
glm
merMod
fit <- lm(Sepal.Width ~ Petal.Width, data = iris) grab_response_formula(fit)
Run the code above in your browser using DataLab