\Header{deviance}{Model Deviance}
\methalias{deviance.default}{deviance}
\methalias{deviance.glm}{deviance}
\methalias{deviance.lm}{deviance}
\methalias{deviance.mlm}{deviance}
\keyword{models}{deviance}
\begin{Description}\relax
Returns the deviance of a fitted model object.\end{Description}
\begin{Usage}
\begin{verbatim}
deviance(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object for which the deviance is desired.
\item[\code{...}] additional optional argument.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
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.\end{Details}
\begin{Value}
The value of the deviance extracted from the object \code{object}.\end{Value}
\begin{References}\relax
Chambers, J. M. and Hastie, T. J. (1992)
\emph{Statistical Models in S.}
Wadsworth \& Brooks/Cole.\end{References}
\begin{SeeAlso}\relax
\code{\Link{df.residual}},
\code{\Link{extractAIC}},
\code{\Link{glm}},
\code{\Link{lm}}.\end{SeeAlso}

