This help topic is for R version 1.7.1. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/labels.html
labels {base}R Documentation

Find Labels from Object

Description

Find a suitable set of labels from an object for use in printing or plotting, for example.

Usage

labels(object, ...)
labels.default(object, ...)
labels.terms(object, ...)
labels.lm(object, ...)

Arguments

object

Any R object: the function is generic.

...

further arguments passed to or from other methods.

Value

A character vector or list of such vectors. For a vector the results is the names or seq(along=x), for a data frame or array it is the dimnames (with NULL expanded to seq(len=d[i])), for a terms object it is the term labels and for an lm object it is the term labels for estimable terms.

References

Chambers, J. M. and Hastie, T. J. (1992) Statistical Models in S. Wadsworth \& Brooks/Cole.


[Package base version 1.7.1 ]