\HeaderA{anova}{Anova Tables}{anova}
\aliasA{print.anova}{anova}{print.anova}
\keyword{regression}{anova}
\keyword{models}{anova}
\begin{Description}\relax
Compute analysis of variance (or deviance) tables for one or more
fitted model objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
anova(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] an object containing the results returned by a model
fitting function (e.g., \code{lm} or \code{glm}).
\item[\code{...}] additional objects of the same type.
\end{ldescription}
\end{Arguments}
\begin{Value}
This (generic) function returns an object of class \code{anova}.
These objects represent analysis-of-variance and analysis-of-deviance tables.
When given a single argument it produces a table which
tests whether the model terms are significant.

When given a sequence of objects, \code{anova} tests
the models against one another in the order specified.

The print method for \code{anova} objects prints
tables in a \dQuote{pretty} form.
\end{Value}
\begin{Section}{Warning}
The comparison between two or more models will only be valid if they
are fitted to the same dataset. This may be a problem if there are
missing values and \R's default of \code{na.action = na.omit} is used.
\end{Section}
\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{coefficients}{coefficients}}, \code{\LinkA{effects}{effects}},
\code{\LinkA{fitted.values}{fitted.values}}, \code{\LinkA{residuals}{residuals}},
\code{\LinkA{summary}{summary}}, \code{\LinkA{drop1}{drop1}}, \code{\LinkA{add1}{add1}}.
\end{SeeAlso}

