residuals.msme: Function to produce residuals from a model of class msme.

Description Usage Arguments Details Value Author(s) References Examples

Description

Function to produce deviance and standardized deviance residuals from a model of class msme.

Usage

1
2
## S3 method for class 'msme'
residuals(object, type = c("deviance", "standard"), ...)

Arguments

object

a model of class msme.

type

the type of residual requested. Defaults to deviance.

...

arguments to pass on. Retained for compatibility with generic method.

Details

Presently only deviance or standardized deviance residuals are computed.

Value

A vector of residuals.

Author(s)

Andrew Robinson and Joe Hilbe.

References

Hilbe, J.M., and Robinson, A.P. 2013. Methods of Statistical Model Estimation. Chapman & Hall / CRC.

Examples

1
2
3
4
5
6
7
8
data(medpar)

ml.poi <- ml_glm(los ~ hmo + white,
                 family = "poisson",
                 link = "log",
                 data = medpar)

str(residuals(ml.poi))

msme documentation built on May 2, 2019, 5:07 a.m.

Related to residuals.msme in msme...