residuals.AccurateGLM {aglm}  R Documentation 
Get residuals of various types
## S3 method for class 'AccurateGLM'
residuals(
object,
x = NULL,
y = NULL,
offset = NULL,
weights = NULL,
type = c("working", "pearson", "deviance"),
s = NULL,
...
)
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. 
A numeric vector representing calculated residuals.
Kenji Kondo