getWeights | R Documentation |
This function calculates the weight for each cell with respect to the area that intersects with a polygon.
getWeights(grid, shp)
grid |
Grid (as polygons) to be intersected. |
shp |
Polygons that will be used to intersect the grids. |
Weight for each cell index. NA means no intersection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.