Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

SpPolygons

Spatial polygons from an icosahedral grid


Description

The function will create a SpatialPolygons class 2d representation of the icosahedral grid.

Usage

SpPolygons(gridObj, ...)

## S4 method for signature 'trigrid'
SpPolygons(gridObj, res = NULL)

## S4 method for signature 'hexagrid'
SpPolygons(gridObj, res = NULL)

Arguments

gridObj

(trigrid or hexagrid) An icosahedral grid.

...

Arguments passed to class-specific methods.

res

(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.

Value

A SpatialPolygons class object.

Examples

a <- trigrid()
sp <- SpPolygons(a)

icosa

Global Triangular and Penta-Hexagonal Grids Based on Tessellated Icosahedra

v0.10.1
GPL-3
Authors
Adam T. Kocsis [aut, cre]
Initial release
2021-01-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.