Description Usage Arguments Details
Converts isopleths in a SpatialPolygonsDataFrame object to a RasterLayer
1 2 3 |
polys |
A SpatialPolygonsDataFrame containing isopleths sorted by isopleth level (smallest to largest) |
raster |
A RasterStack object to be used to set the extent and resolution for the output raster. |
ext |
An extent object or NULL. Ignored if |
dimSize |
Numeric value used as the number of cells along the largest dimension of the data is numeric. Ignored if |
cell.size |
. Ignored if |
sf.cell.size |
. Ignored if |
ll.round |
Anchor the lower left coordinate of the raster extent to a multiple of the cell size. Ignored if |
status |
Show status messages and progress bar |
debug |
Show debugging info |
This presumes the SPDF contains isopleths ordered from lowest level to highest. The cell values of the resulting raster will sum up to the largest isopleth leve. In order for the resulting raster to sum to 1, the 100
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.