residuals.mixpoissonreg: Residuals Method for mixpoissonreg Objects
Description
Function to return 'pearson' or 'score' residuals for mixed Poisson regression models.
Usage
# S3 method for mixpoissonreg
residuals(object, type = c("pearson", "score"), ...)
Arguments
object
an object of class "mixpoissonreg" containing results from the fitted model.
type
the type of residual to be returned. Currently, the options are 'pearson' or 'score'. The default is set to 'pearson'. Notice that these
residuals coincide for Negative-Binomial models.
...
Currently not used.
Value
A vector containing the residuals of a mixpoissonreg object.