powered by
VirtualArray
Get or set the dimnames of multidimensional VirtualArray-derived class object.
# S4 method for VirtualArray dimnames(x)# S4 method for VirtualArray dimnames(x) <- value
# S4 method for VirtualArray dimnames(x) <- value
A list of character vectors or NULL.
list
character
NULL
RasterArray or SfArray object.
RasterArray
SfArray
character vector.
ex <- rastex() dimnames(ex) data(paleocoastlines) dimnames(paleocoastlines) dimnames(paleocoastlines)[[2]] <- c("first", "second") names(dimnames(paleocoastlines)) <- c("age", "type")
Run the code above in your browser using DataLab