Compute residuals for an object of mcglm class.

# S3 method for mcglm
residuals(object, type = "raw", ...)

Arguments

object

an object of mcglm class.

type

the type of residuals which should be returned. Options are: "raw" (default), "pearson" and "standardized".

...

additional arguments affecting the residuals produced. Note that there is no extra options for mcglm object class.

Value

The function residuals.mcglm returns a matrix of residuals values.

See also

fitted.