powered by
The function will create a SpatialPolygons class 2d representation of the icosahedral grid.
SpatialPolygons
SpPolygons(gridObj, ...)# S4 method for trigrid SpPolygons(gridObj, res = NULL)# S4 method for hexagrid SpPolygons(gridObj, res = NULL)
# S4 method for trigrid SpPolygons(gridObj, res = NULL)
# S4 method for hexagrid SpPolygons(gridObj, res = NULL)
(trigrid or hexagrid) An icosahedral grid.
trigrid
hexagrid
Arguments passed to class-specific methods.
(numeric) The number of points inserted between two vertices, or NULL, if this is to be set by the package. The default method increases resolution with lower tessellation values, and is higher for higher absolute latitudes.
numeric
NULL
A SpatialPolygons class object.
# NOT RUN { a <- trigrid() sp <- SpPolygons(a) # }
Run the code above in your browser using DataLab