sp2raster | R Documentation |
sp2raster
SpatialData to Raster
sp2raster
sp2raster(
sp,
mask = get("MASK", envir = .shud),
ngrids = 200,
resolution = NULL,
field = 1
)
sp |
SpatialPolygon |
mask |
Raster mask of mesh domain. |
ngrids |
Number of grid along x direction. |
resolution |
Resolution, defaul = NULL, resolution = extent / ngrids |
field |
Index of field |
Raster map
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.