Get or set the names of the layers of a Raster* object
Function layerNames is deprecated. Use names instead.
Usage
## S3 method for class 'Raster':
names(x)
## S3 method for class 'Raster':
names(x)<-value
## S3 method for class 'Raster':
labels(object)
layerNames(x)