residuals.ah {surveillance}R Documentation

Residuals from a HHH model

Description

Extracts model residuals from a ah or ahg object.

Usage

## S3 method for class 'ah'
residuals(object, type=c("deviance","pearson"), ...)

Arguments

object

object of class ah or ahg

type

the type of residuals which should be returned. The alternatives are "deviance" (default) and "pearson"

...

not really used

Value

matrix with residuals for each region and time point.

Note

This function is experimental!


[Package surveillance version 1.16.1 Index]