View source: R/rasterize_and_mask.R
rasterize_and_mask | R Documentation |
Function converts gridded spatial data with coordinates (eg. SpatialGrid) to a raster, then applies a spatial mask.
rasterize_and_mask(sgrid, amask, touches = FALSE)
sgrid |
Gridded spatial data |
amask |
Object to use as an area mask (simple features object or one of many sp objects) |
touches |
Passed to mask(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.