Accessing GLMMRR Fits for mixed-effect models

Share:

Description

Compute residuals for RRglmer objects. Extends residuals.glmResp to access conditional and unconditional residuals for grouped binary Randomized Response data. Reference: Fox, J-P, Klotzke, K. and Veen, D. (2016). Generalized Linear Mixed Models for Randomized Responses. Manuscript submitted for publication.

Usage

1
2
3
4
## 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

residuals.glmResp

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.