residuals.glmmTMB {glmmTMB}R Documentation

Compute residuals for a glmmTMB object

Description

Compute residuals for a glmmTMB object

Usage

## S3 method for class 'glmmTMB'
residuals(
  object,
  type = c("response", "pearson", "working", "deviance", "dunn-smyth"),
  re.form = NULL,
  ...
)

## S3 method for class 'glmmTMB'
deviance(object, ...)

Arguments

object

a “glmmTMB” object

type

(character) residual type

re.form

NULL to specify individual-level predictions; ~0 or NA to specify population-level predictions (i.e., setting all random effects to zero)

...

for method compatibility (unused arguments will throw an error)

Details


[Package glmmTMB version 1.1.11 Index]