outname_fit {crctStepdown} | R Documentation |
Extracts the dependent variable name from glm, lm, or mer model
Description
Extracts the dependent variable name from glm, lm, or mer model
Usage
outname_fit(fit)
Arguments
fit |
A fitted model object of class glm, lm, or *merMod |
Value
A string with the name of the dependent variable from the model
Examples
out <- twoarm_sim()
data <- out[[1]]
fit1 <- lme4::glmer(y1 ~ treat + (1|cl) ,
data=data,
family="poisson")
outname_fit(fit1)
[Package crctStepdown version 0.5.2 Index]