powered by
RasterArray
SpatialArray
Get or set the dimnames of multidimensional RasterArray or SpatialArray objects
# S4 method for XArray dimnames(x)# S4 method for XArray dimnames(x) <- value
# S4 method for XArray dimnames(x) <- value
RasterArray or SpatialArray object.
character vector.
character
A list of character vectors or NULL.
list
NULL
# NOT RUN { data(dems) dimnames(dems) data(coasts) dimnames(coasts) dimnames(coasts)[[2]] <- c("first", "second") # }
Run the code above in your browser using DataLab