\Header{labels}{Find Labels from Object}
\methalias{labels.default}{labels}
\methalias{labels.lm}{labels}
\methalias{labels.terms}{labels}
\keyword{print}{labels}
\keyword{models}{labels}
\begin{Description}\relax
Find a suitable set of labels from an object for use in printing or
plotting, for example.  A generic function.
\end{Description}
\begin{Usage}
\begin{verbatim}
labels(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{object}] Any \R{} object: the function is generic.
\item[\code{...}] further arguments passed to or from other methods.
\end{ldescription}
\end{Arguments}
\begin{Value}
A character vector or list of such vectors. For a vector the results
is the names or \code{seq(along=x)}, for a data frame or array it is
the dimnames (with \code{NULL} expanded to \code{seq(len=d[i])}), for
a \code{terms} object it is the term labels and for an \code{lm}
object it is the term labels for estimable terms.
\end{Value}
\begin{References}\relax
Chambers, J. M. and Hastie, T. J. (1992)
\emph{Statistical Models in S.}
Wadsworth \& Brooks/Cole.
\end{References}

