Description Usage Arguments Details Value Examples
Methods to create a RasterLayer object. RasterLayer objects can be created from scratch, a file, an Extent object, a matrix, an 'image' object, or from a Raster*, sf, Spatial*, im (spatstat) asc, kasc (adehabitat*), grf (geoR) or kde object.
1 |
x |
filename (character), Extent, Raster*, sf object, SpatialPixels*, SpatialGrid*, 'image', matrix, im, or missing. Supported file types are the 'native' raster package format and those that can be read via rgdal (see readGDAL). |
... |
Additional arguments, see Details |
See raster
for more details.
RasterLayer
1 2 | x <- read_sf(system.file("shape/nc.shp", package="sf"))
raster(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.