Function to extract the residuals of the estimated model. resid is an alias for it.
resid
# S3 method for glmsmurf residuals( object, type = c("deviance", "pearson", "working", "response", "partial"), ... )# S3 method for glmsmurf resid( object, type = c("deviance", "pearson", "working", "response", "partial"), ... )
# S3 method for glmsmurf resid( object, type = c("deviance", "pearson", "working", "response", "partial"), ... )
A vector containing the residuals of the estimated model in object.
object
An object of class 'glmsmurf', typically the result of a call to glmsmurf or glmsmurf.fit.
glmsmurf
glmsmurf.fit
Type of residuals that should be returned. One of "deviance" (default), "pearson", "working", "response" or "partial".
"deviance"
"pearson"
"working"
"response"
"partial"
Additional arguments which are currently ignored.
See glm.summaries for an overview of the different types of residuals.
glm.summaries
residuals_reest, residuals, glm.summaries, glmsmurf-class
residuals_reest
residuals
glmsmurf-class
## See example(glmsmurf) for examples
Run the code above in your browser using DataLab