.BG
.FN dimnames
.TL
Dimnames Attribute of an Object
.CS
dimnames(x)
dimnames(x) <- value
.AG x
any object.
.AG value
list of the same length as `dim(x)', or `NULL'.
.RT
the `dimnames' attribute of `x', if any;
otherwise, `NULL'.
Only arrays may have this attribute.
It is a list whose length is `length(dim(x))'.
The `i'th element of `dimnames(x)' is either of length `0'
or is a character vector of length `dim(x)[i]',
and in the latter case should be
thought of
as a set of labels for the `i'th dimension of `x'.
.PP
Assigning to `dimnames(x)' is permissible,
provided `x' is an array, and the new value of the
`dimnames' attribute is compatible with `dim(x)'.
To explicitly delete the `dimnames' attribute,
use `dimnames(x)<-NULL'.
.PP
Array subscripts retain `dimnames'; see `Subscript'.
.EX
dimnames(iris)[[3]]	# iris species
.KW array
.KW attribute
.WR
