as.raster | R Documentation |
Converts a DeponsRaster
into a RasterLayer
for easier manipulation with common R tools.
## S4 method for signature 'DeponsRaster'
as.raster(x)
x |
A |
Maintains cell size / resolution, CRS (if defined) and value of NA cells.
A RasterLayer
as.DeponsRaster
for converting a RasterLayer into a DeponsRaster
data(bathymetry)
y <- as.raster(bathymetry)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.