Return the residuals from a `Model` object. This function is a wrapper for `Model$residuals()`. Generates one of several types of residual for the model. If conditional = TRUE then the residuals include the random effects, otherwise only the fixed effects are included. For type, there are raw, pearson, and standardized residuals. For conditional residuals a matrix is returned with each column corresponding to a sample of the random effects.
# S3 method for Model
residuals(object, type, conditional, ...)
A matrix with either one column is conditional is false, or with number of columns corresponding to the number of MCMC samples.
A `Model` object.
Either "standardized", "raw" or "pearson"
Logical indicating whether to condition on the random effects (TRUE) or not (FALSE)
Further arguments passed from other methods