powered by
RasterArray
SpatialStack
SpatialArray
Get or set the names of one-dimensional RasterArray or SpatialArray objects
# S4 method for XArray names(x)# S4 method for XArray names(x) <- value# S4 method for SpatialStack names(x)# S4 method for SpatialStack names(x) <- value
# S4 method for XArray names(x) <- value
# S4 method for SpatialStack names(x)
# S4 method for SpatialStack names(x) <- value
A character vector of names or NULL.
character
NULL
RasterArray, SpatialStack or SpatialArray object.
character vector.
data(dems) names(dems) names(dems)[4] <- "weirdo" # NULL data(coasts) names(coasts)
Run the code above in your browser using DataLab