Description Usage Arguments Value Examples
shape2grid
converts a shape into a grid. It is very useful for
clustering purposes.
1 | shape2grid(shape, gsize = 100)
|
shape |
Shapefile. Spatial object to be converted |
gsize |
Optional. Numeric. Size of each cell in meters. 100 m by default. |
a spatial object.
1 2 3 4 | ## Not run:
shape <- shape2grid(shape, 100)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.