\HeaderA{deviance}{Model Deviance}{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{\LinkA{df.residual}{df.residual}},
\code{\LinkA{extractAIC}{extractAIC}},
\code{\LinkA{glm}{glm}},
\code{\LinkA{lm}{lm}}.
\end{SeeAlso}

