Array Labels

Usage

dimnames(x)
dimnames(x) <- nlist

Value

This function obtains the list of extent labels of the array given as its argument. The second form above can be used to set these labels.

See Also

matrix, rownames, colnames.

Examples

## simple versions of rownames and colnames
## could be defined as follows
rownames0 <- function(x) dimnames(x)[[1]]
colnames0 <- function(x) dimnames(x)[[2]]


[Package Contents]