residuals.RRglmerMod {GLMMRR} | R Documentation |
Accessing GLMMRR Fits for mixed-effect models
Description
Compute residuals for RRglmer objects. Extends residuals.glmResp
to access conditional and
unconditional residuals for grouped binary Randomized Response data.
Usage
## S3 method for class 'RRglmerMod'
residuals(
object,
type = c("deviance", "pearson", "working", "response", "partial",
"unconditional.response", "unconditional.pearson"),
...
)
Arguments
object |
an object of class RRglmer. |
type |
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. |
Value
A vector of residuals.
See Also
[Package GLMMRR version 0.5.0 Index]