Compute residuals for RRglmer objects. Extends residuals.glmResp to access conditional and
unconditional residuals for grouped binary Randomized Response data.
# S3 method for RRglmerMod
residuals(
object,
type = c("deviance", "pearson", "working", "response", "partial",
"unconditional.response", "unconditional.pearson"),
...
)A vector of residuals.
an object of class RRglmer.
the type of residuals which should be returned. The alternatives are: "deviance" (default), "pearson", "working", "response", "partial", "unconditional.response" and "unconditional.pearson".
further arguments passed to or from other methods.