GridFilter {bivariatemaps} | R Documentation |
GridFilter: Intersect a Shape with a Grid and Exclude Cells Based on Area Coverage
Description
Overlay a shapefile with a grid. Then, excludes grid cells that do not cover a specific amount of the Shape area.
Usage
GridFilter(shape, resol = 1, prop = 0)
Arguments
shape |
A shapefile. |
resol |
The resolution (in degrees) of the grid you want to overlay. The default is 1 degree of longitude and latitude. |
prop |
The minimum value of area covered by the grid cell. The default is 0 (i.e. it does not delete any grid cell). |
Value
A gridded shapefile.
Examples
# https://rfunctions.blogspot.com/2014/12/gridfilter-intersect-grid-with-shape.html
[Package bivariatemaps version 1.7 Index]