residuals.AccurateGLM {aglm} | R Documentation |
Get residuals of various types
Description
Get residuals of various types
Usage
## S3 method for class 'AccurateGLM'
residuals(
object,
x = NULL,
y = NULL,
offset = NULL,
weights = NULL,
type = c("working", "pearson", "deviance"),
s = NULL,
...
)
Arguments
object |
A model object obtained from |
x |
A design matrix.
If not given, |
y |
A response variable.
If not given, |
offset |
An offset values.
If not given, |
weights |
Sample weights.
If not given, |
type |
A string representing type of deviance:
|
s |
A numeric value specifying |
... |
Other arguments are currently not used and just discarded. |
Value
A numeric vector representing calculated residuals.
Author(s)
Kenji Kondo