Names of one-dimensional RasterArray, SpatialStack or SpatialArray objects.
Get or set the names of one-dimensional RasterArray
or SpatialArray
objects
## S4 method for signature 'XArray' names(x) ## S4 replacement method for signature 'XArray' names(x) <- value ## S4 method for signature 'SpatialStack' names(x) ## S4 replacement method for signature 'SpatialStack' names(x) <- value
x |
|
value |
|
A character
vector of names or NULL
.
data(dems) names(dems) names(dems)[4] <- "weirdo" # NULL data(coasts) names(coasts)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.