residuals.RRglmerMod: Accessing GLMMRR Fits for mixed-effect models

Description Usage Arguments Value See Also

View source: R/residuals.R

Description

Compute residuals for RRglmer objects. Extends residuals.glmResp to access conditional and unconditional residuals for grouped binary Randomized Response data.

Usage

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


GLMMRR documentation built on Jan. 16, 2021, 5:28 p.m.