Learn R Programming

GLMMRR (version 0.6.0)

residuals.RRglmerMod: 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 RRglmerMod
residuals(
  object,
  type = c("deviance", "pearson", "working", "response", "partial",
    "unconditional.response", "unconditional.pearson"),
  ...
)

Value

A vector of residuals.

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.

See Also