Description Usage Arguments Details Value Author(s)
Builds an hexagonal grid over a spatial object using a convex hull.
1 |
x |
A spatial object, ideally projected. |
width |
Approximate width of hexagonal cell |
n |
Number of divisions to approximately split the convex hull along the x direction. |
buffer |
Width of a buffer around the convex hull of |
convex |
Keep cells over convex hull or over |
seed |
A seed to obtain the same grid since it is based on |
When x
is not projected, it is projected using laea and centered on mean x and y values and given back with the initial CRS. Better to input projected data anyway for displaying...
A SpatialPolygonsDataFrame
hexagonal grid overlapping x
.
Francois Rousseu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.