\HeaderA{terms}{Model Terms}{terms}
\aliasA{labels.terms}{terms}{labels.terms}
\aliasA{print.terms}{terms}{print.terms}
\methaliasA{terms.aovlist}{terms}{terms.aovlist}
\methaliasA{terms.default}{terms}{terms.default}
\methaliasA{terms.terms}{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{\LinkA{terms.formula}{terms.formula}}):
the default method just extracts the \code{terms} component of the
object (if any).

There are \code{\LinkA{print}{print}} and \code{\LinkA{labels}{labels}} methods for
class \code{"terms"}: the latter prints the term labels (see
\code{\LinkA{terms.object}{terms.object}}).
\end{Details}
\begin{Value}
An object of class \code{c("terms", "formula")} which contains the
\emph{terms} representation of a symbolic model. See
\code{\LinkA{terms.object}{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{\LinkA{terms.object}{terms.object}}, \code{\LinkA{terms.formula}{terms.formula}},
\code{\LinkA{lm}{lm}}, \code{\LinkA{glm}{glm}}, \code{\LinkA{formula}{formula}}.
\end{SeeAlso}

