rasterCreate | R Documentation |
Raster*
objectThis wraps either raster::raster
, raster::stack
, raster::brick
, or terra::rast
,
allowing a single function to be used to create a new object of the same class as a template.
This works for all Raster*
and SpatRaster
class templates.
rasterCreate(x, ...)
## Default S3 method:
rasterCreate(x, ...)
x |
An object, notably a |
... |
Passed to |
a new (empty) object of same class as the original.
rasterCreate(default)
: Simply passes through argument with no effect
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.