\Header{predict}{Model Predictions}
\keyword{methods}{predict}
\begin{Description}\relax
\code{predict} is a generic function for predictions from the results of
various model fitting functions.  The function invokes particular
\emph{methods} which depend on the \code{\Link{class}} of the first argument.

The function \code{\Link{predict.lm}} makes predictions based on the
results produced by \code{\Link{lm}}.\end{Description}
\begin{Usage}
\begin{verbatim}
predict (object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] a model object for which prediction is desired.
\item[\code{...}] additional arguments affecting the predictions produced.
\end{ldescription}
\end{Arguments}
\begin{Value}
The form of the value returned by \code{predict} depends on the
class of its argument.  See the documentation of the
particular methods for details of what is produced by that method.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{predict.lm}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
## All the "predict" methods available in your current search() path:
for(fn in methods("predict"))
   cat(fn,":\n\t",deparse(args(get(fn))),"\n")
\end{ExampleCode}
\end{Examples}

