\Header{update.lm}{Update a [G]LM Model}
\alias{update.glm}{update.lm}
\keyword{models}{update.lm}
\begin{Usage}
\begin{verbatim}
 update.lm( lm.obj, formula, data, weights, subset, na.action)
update.glm(glm.obj, formula, data, weights, subset, na.action,
           offset, family, x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\texttt{[g]lm.obj}] result of \texttt{\Link{lm}} or \texttt{\Link{glm}}.

The following arguments are all \emph{optional}, and have the
identical meaning as the arguments of \texttt{\Link{lm}} or \texttt{\Link{glm}},
respectively:
\item[\texttt{formula}] a \texttt{\Link{formula}} for updating the former model.
\item[\texttt{data}] the \texttt{\Link{data.frame}}.
\item[\texttt{weights}] observation weights.
\item[\texttt{subset}] choose a subset of cases.
\item[\texttt{na.action}] a function. what do to with \texttt{\Link{NA}}s, see
\texttt{\Link{na.action}}.
\item[\texttt{offset}] see \texttt{\Link{glm}}.
\item[\texttt{family}] \texttt{\Link{family}} for \texttt{glm}.
\item[\texttt{x}] logical, should the \texttt{x} matrix be returned?
\end{ldescription}
\end{Arguments}
\begin{Description}
.....\end{Description}
\begin{Value}
An object of the same \texttt{\Link{class}} as the original g\texttt{lm.obj}.\end{Value}
\begin{References}
The ``white book''.\end{References}
\begin{SeeAlso}
\texttt{\Link{update.formula}},
\texttt{\Link{formula}},\texttt{\Link{lm}},\texttt{\Link{glm}}.\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}

\end{ExampleCode}
\end{Examples}

