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