outname_fit {crctStepdown} | 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)