labels: Find Labels from Object

Description Usage Arguments Value References

View source: R/labels.R

Description

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

Usage

1
labels(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) and for a data frame or array it is the dimnames (with NULL expanded to seq_len(d[i]).

References

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


robertzk/monadicbase documentation built on May 27, 2019, 10:35 a.m.