residuals.LmME | R Documentation |
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 class 'LmME'
residuals(object, as.lm = FALSE, ...)
object |
An |
as.lm |
If |
... |
Optional arguments (for consistency with generic) |
data("sleepstudy", package = "lme4")
fit <- LmME(Reaction ~ Days + (Days | Subject), data = sleepstudy)
resid(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.