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

Details

this function is still experimental

Value

matrix with residuals for each region and time point.


[Package surveillance version 1.0-3 Index]