Residuals for `Glm`
# S3 method for Glm
residuals(object, type, ...)
a vector or matrix
a fit object produced by `Glm`
either `'score'` or a `type` accepted by `residuals.glm`
ignored
Frank Harrell
This function mainly passes through to `residuals.glm` but for `type='score'` computes the matrix of score residuals using code modified from `sandwich::estfun.glm`.