powered by
Get or set the names of one-dimensional RasterArray or SpArray objects
# S4 method for RasterArray names(x)# S4 method for RasterArray names(x) <- value
# S4 method for RasterArray names(x) <- value
RasterArray or SpArray object.
RasterArray
SpArray
character vector.
character
A character vector of names or NULL.
NULL
# NOT RUN { data(dems) names(dems) names(dems)[4] <- "weirdo" # NULL data(clim) names(clim) # }
Run the code above in your browser using DataLab