SpPolygons | R Documentation |
The function will create a SpatialPolygons
class 2d representation of the icosahedral grid.
SpPolygons(gridObj, ...)
## S4 method for signature 'trigrid'
SpPolygons(gridObj, res = NULL)
## S4 method for signature 'hexagrid'
SpPolygons(gridObj, res = NULL)
gridObj |
( |
... |
Arguments passed to class-specific methods. |
res |
( |
A SpatialPolygons
class object.
a <- trigrid()
sp <- SpPolygons(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.