outname_fit | R Documentation |
Extracts the dependent variable name from glm, lm, or mer model
outname_fit(fit)
fit |
A fitted model object of class glm, lm, or *merMod |
A string with the name of the dependent variable from the model
out <- twoarm_sim()
data <- out[[1]]
fit1 <- lme4::glmer(y1 ~ treat + (1|cl) ,
data=data,
family="poisson")
outname_fit(fit1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.