The R Project SVN R

Rev

Rev 68948 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
42333 ripley 1
% File src/library/base/man/labels.Rd
68948 ripley 2
% Part of the R package, https://www.R-project.org
59039 ripley 3
% Copyright 1995-2007 R Core Team
42333 ripley 4
% Distributed under GPL 2 or later
5
 
2744 pd 6
\name{labels}
7
\title{Find Labels from Object}
8
\usage{
7324 ripley 9
labels(object, \dots)
2744 pd 10
}
56186 murdoch 11
\alias{labels}
2744 pd 12
\alias{labels.default}
13
\arguments{
14
  \item{object}{Any \R object: the function is generic.}
15518 ripley 15
  \item{\dots}{further arguments passed to or from other methods.}
2744 pd 16
}
17
\description{
7324 ripley 18
  Find a suitable set of labels from an object for use in printing or
25360 ripley 19
  plotting, for example.  A generic function.
2744 pd 20
}
21
\value{
55555 ripley 22
  A character vector or list of such vectors.  For a vector the results
23
  is the names or \code{seq_along(x)} and for a data frame or array it
74363 maechler 24
  is the dimnames (with \code{NULL} expanded to \code{seq_len(d[i])}).
2744 pd 25
}
24300 ripley 26
\references{
27
  Chambers, J. M. and Hastie, T. J. (1992)
28
  \emph{Statistical Models in S.}
47262 ripley 29
  Wadsworth & Brooks/Cole.
24300 ripley 30
}
2744 pd 31
\keyword{print}
32
\keyword{models}