\Header{terms}{Model Terms}
\alias{print.terms}{terms}
\methalias{terms.aovlist}{terms}
\methalias{terms.default}{terms}
\methalias{terms.terms}{terms}
\keyword{models}{terms}
\begin{Description}\relax
The function \code{terms} is a generic function
which can be used to extract \emph{terms} objects
from various kinds of \R{} data objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
terms(x, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] object used to select a method to dispatch.
\item[\code{...}] further arguments passed to or from other methods.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
There are methods for classes \code{"aovlist"}, and \code{"terms"}
\code{"formula"} (see \code{\Link{terms.formula}}):
the default method just extracts the \code{terms} component of the
object (if any).
\end{Details}
\begin{Value}
An object of class \code{c("terms", "formula")} which contains the
\emph{terms} representation of a symbolic model. See
\code{\Link{terms.object}} for its structure.
\end{Value}
\begin{References}\relax
Chambers, J. M. and Hastie, T. J. (1992)
\emph{Statistical models.}
Chapter 2 of \emph{Statistical Models in S}
eds J. M. Chambers and T. J. Hastie, Wadsworth \& Brooks/Cole.
\end{References}
\begin{SeeAlso}\relax
\code{\Link{terms.object}}, \code{\Link{terms.formula}},
\code{\Link{lm}}, \code{\Link{glm}}, \code{\Link{formula}}.
\end{SeeAlso}

