Learn R Programming

stats (version 3.4.3)

deviance: Model Deviance

Description

Returns the deviance of a fitted model object.

Usage

deviance(object, …)

Arguments

object

an object for which the deviance is desired.

additional optional argument.

Value

The value of the deviance extracted from the object object.

Details

This is a generic function which can be used to extract deviances for fitted models. Consult the individual modeling functions for details on how to use this function.

References

Chambers, J. M. and Hastie, T. J. (1992) Statistical Models in S. Wadsworth & Brooks/Cole.

See Also

df.residual, extractAIC, glm, lm.