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 ah or ahg |
type |
the type of residuals which should be returned. The alternatives are "deviance" (default) and "pearson" |
... |
not really used |
this function is still experimental
matrix with residuals for each region and time point.