residuals.sparse.sglmm: Extract model residuals.
Description
Extract model residuals.
Usage
# S3 method for sparse.sglmm
residuals(object, type = c("deviance", "pearson",
"response"), ...)Arguments
object
an object of class sparse.sglmm, typically the result of a call to sparse.sglmm.
type
the type of residuals that should be returned. The alternatives are “deviance” (default), “pearson”, and “response”.
Value
A vector of residuals.