rasterField | R Documentation |
This function makes raster layers from shapefile data.
rasterField(field, res = 1, trait = NULL, shape = NULL, cex = 1)
field |
SpatVector. The shapefile to be converted to raster. |
res |
resolution to make the raster layer. |
trait |
vector with the traits to be converted to raster. |
shape |
a specific area inside the field to be converted to raster. If shape=NULL, all field data will be converted. |
cex |
point size. Please check |
rasterField
A raster stack in form SpatRaster.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.