Rev 25360 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{labels}\title{Find Labels from Object}\usage{labels(object, \dots)}\alias{labels}\alias{labels.default}\alias{labels.terms}\alias{labels.lm}\arguments{\item{object}{Any \R object: the function is generic.}\item{\dots}{further arguments passed to or from other methods.}}\description{Find a suitable set of labels from an object for use in printing orplotting, for example. A generic function.}\value{A character vector or list of such vectors. For a vector the resultsis the names or \code{seq(along=x)}, for a data frame or array it isthe dimnames (with \code{NULL} expanded to \code{seq(len=d[i])}), fora \code{terms} object it is the term labels and for an \code{lm}object it is the term labels for estimable terms.}\references{Chambers, J. M. and Hastie, T. J. (1992)\emph{Statistical Models in S.}Wadsworth \& Brooks/Cole.}\keyword{print}\keyword{models}