\Header{fitted.values}{Extract Model Fitted Values}
\alias{fitted}{fitted.values}
\methalias{fitted.default}{fitted.values}
\methalias{fitted.glm}{fitted.values}
\methalias{fitted.lm}{fitted.values}
\keyword{models}{fitted.values}
\keyword{regression}{fitted.values}
\begin{Description}\relax
\code{fitted} is a generic function which extracts fitted values from
objects returned by modeling functions.  \code{fitted.values} is an
alias for it.

All object classes which are returned by model fitting functions
should provide a \code{fitted} method.  (Note that the generic is
\code{fitted} and not \code{fitted.values}.)

Methods can make use of \code{\Link{napredict}} methods to compensate
for the omission of missing values.  The default, \code{lm} and
\code{glm} methods do.\end{Description}
\begin{Usage}
\begin{verbatim}
fitted(object, ...)
fitted.values(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object for which the extraction of model fitted values is
meaningful.
\item[\code{...}] other arguments.
\end{ldescription}
\end{Arguments}
\begin{Value}
Fitted values extracted from the object \code{x}.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{coefficients}}, \code{\Link{glm}}, \code{\Link{lm}},
\code{\Link{residuals}}.\end{SeeAlso}

