residuals.fitiMoMoI: Extract deviance residuals of an Improvement Rate Model

Description Usage Arguments Value See Also

View source: R/residualsfitiMoMo.R

Description

Compute deviance residuals of a fitted improvement rate Model. These residuals can be plotted using plot.resStMoMo.

Usage

1
2
## S3 method for class 'fitiMoMoI'
residuals(object, scale = TRUE, ...)

Arguments

object

an object of class "fitiMoMo" with the fitted parameters of an improvement mortality model.

scale

logical indicating whether the residuals should be scaled or not by dividing the deviance by the overdispersion of the model. Default is TRUE.

...

other arguments.

Value

An object of class "resStMoMo" with the residuals. This object has components:

residuals

a matrix with the residuals.

ages

ages corresponding to the rows in residuals.

years

years corresponding to the columns in residuals.

See Also

plot.resStMoMo


amvillegas/iMoMo documentation built on Sept. 18, 2020, 11:25 p.m.