powered by
This function computes the null-model (i.e. (y ~ 1)) of a model. For mixed models, the null-model takes random effects into account.
(y ~ 1)
null_model(model, verbose = TRUE, ...)
The null-model of x
x
A (mixed effects) model.
Toggle off warnings.
Arguments passed to or from other methods.
data(sleepstudy) m <- lmer(Reaction ~ Days + (1 + Days | Subject), data = sleepstudy) summary(m) summary(null_model(m))
Run the code above in your browser using DataLab