dimlabels: Dimension labels (i.e., names of dimnames)
Description
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.
Usage
dimlabels(x)
Value
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.
Arguments
x
object that has dimensions (e.g., array).
Details
dimlabels is a very simple function that is simply names(dimnames(x)).