residuals.ah {surveillance} | R Documentation |
Extracts model residuals from a ah
or ahg
object.
## S3 method for class 'ah' residuals(object, type=c("deviance","pearson"), ...)
object |
object of class |
type |
the type of residuals which should be returned. The alternatives are "deviance" (default) and "pearson" |
... |
not really used |
matrix with residuals for each region and time point.
This function is experimental!