residuals.Glm: residuals.Glm

View source: R/Glm.r

residuals.GlmR Documentation

residuals.Glm

Description

Residuals for 'Glm'

Usage

## S3 method for class 'Glm'
residuals(object, type, ...)

Arguments

object

a fit object produced by 'Glm'

type

either ''score'' or a 'type' accepted by 'residuals.glm'

...

ignored

Details

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'.

Value

a vector or matrix

Author(s)

Frank Harrell


rms documentation built on Sept. 12, 2023, 9:07 a.m.