\Header{anova.trls}{Anova tables for fitted trend surface objects}
\alias{anovalist.trls}{anova.trls}
\keyword{spatial}{anova.trls}
\begin{Description}\relax
Compute analysis of variance tables for one or more
fitted trend surface model objects; where \code{anova.trls} is
called with multiple objects, it passes on the arguments to
\code{anovalist.trls}.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'trls':
anova(object, ...)
anovalist.trls(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] A fitted trend surface model object from \code{surf.ls}

\item[\code{...}] Further objects of the same kind

\end{ldescription}
\end{Arguments}
\begin{Value}
\code{anova.trls} and \code{anovalist.trls} return objects corresponding
to their printed tabular output.\end{Value}
\begin{References}\relax
Venables, W. N. and Ripley, B. D. (2002)
\emph{Modern Applied Statistics with S.} Fourth edition.  Springer.
\end{References}
\begin{SeeAlso}\relax
\code{\Link{surf.ls}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
data(topo, package="MASS")
topo0 <- surf.ls(0, topo)
topo1 <- surf.ls(1, topo)
topo2 <- surf.ls(2, topo)
topo3 <- surf.ls(3, topo)
topo4 <- surf.ls(4, topo)
anova(topo0, topo1, topo2, topo3, topo4)
summary(topo4)
\end{ExampleCode}
\end{Examples}

