residuals.glmsmurf {smurf} | R Documentation |
Residuals of Estimated Model
Description
Function to extract the residuals of the estimated model.
resid
is an alias for it.
Usage
## S3 method for class 'glmsmurf'
residuals(
object,
type = c("deviance", "pearson", "working", "response", "partial"),
...
)
## S3 method for class 'glmsmurf'
resid(
object,
type = c("deviance", "pearson", "working", "response", "partial"),
...
)
Arguments
object |
An object of class ' |
type |
Type of residuals that should be returned. One of |
... |
Additional arguments which are currently ignored. |
Details
See glm.summaries
for an overview of the different types of residuals.
Value
A vector containing the residuals of the estimated model in object
.
See Also
residuals_reest
, residuals
, glm.summaries
, glmsmurf-class
Examples
## See example(glmsmurf) for examples
[Package smurf version 1.1.5 Index]