powered by
Get formula of models. Implemented for:
analyze.merModLmerTest
analyze.glmerMod
analyze.lm
analyze.glm
analyze.stanreg
get_formula(x, ...)
Object.
Arguments passed to or from other methods.
# NOT RUN { library(psycho) library(lme4) fit <- lme4::glmer(vs ~ wt + (1 | gear), data = mtcars, family = "binomial") fit <- lm(hp ~ wt, data = mtcars) get_formula(fit) # }
Run the code above in your browser using DataLab