powered by
Calculates the score residuals of an intercept term fixed at 0. In the case of an LmME model, this is equal to the residual of an LMM.
# S3 method for LmME residuals(object, as.lm = FALSE, ...)
An LmME object.
LmME
If TRUE, return the residuals as in a normal linear mixed effects model.
TRUE
Optional arguments (for consistency with generic)
data("sleepstudy", package = "lme4") fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy) resid(fit)
Run the code above in your browser using DataLab