Description Usage Arguments Value See Also Examples
Get or set the names of the layers of a Raster* object
1 2 3 4 5 6 7 8 |
x |
Raster* object |
object |
Raster* object |
value |
character (vector) |
Character
1 2 3 4 5 6 7 8 9 10 |
Loading required package: sp
[1] 3
[1] "layer.1" "layer.2" "layer.3"
[1] "a" "hello.world" "c"
class : RasterStack
dimensions : 5, 5, 25, 3 (nrow, ncol, ncell, nlayers)
resolution : 72, 36 (x, y)
extent : -180, 180, -90, 90 (xmin, xmax, ymin, ymax)
coord. ref. : +proj=longlat +datum=WGS84
names : a, hello.world, c
min values : 1, 1, 1
max values : 25, 25, 25
[1] "a" "hello.world" "c"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.