Dimension labels (i.e., names of dimnames)
dimlabels
returns the the dimension labels (i.e., names of dimnames)
of an object. This is most useful for arrays, which can have anywhere from 1
to 1000+ dimensions.
dimlabels(x)
x |
object that has dimensions (e.g., array). |
dimlabels
is a very simple function that is simply names(dimnames(x))
.
character vector of length = ndim(x)
specifying the dimension
labels (i.e., names of dimnames) of x
. If x
does not have any
dimensions, or has dimensions but no dimension labels, then NULL is returned.
dimlabels(state.region) dimlabels(attitude) dimlabels(HairEyeColor)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.