Description Usage Arguments Value Examples
Get the filename of a Raster* object. You cannot set the filename of an object (except for RasterStack objects); but you can provide a 'filename= ' argument to a function that creates a new RasterLayer or RasterBrick* object.
1 | filename(x)
|
x |
A Raster* object |
a Raster* object
1 2 3 |
r <- raster( system.file("external/test.grd", package="raster") )
filename(r)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.