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

surfacearea

Areas of grid cell surfaces


Description

This function will return the areas of all cells in the specified grid object.

Usage

surfacearea(gridObj)

## S4 method for signature 'trigrid'
surfacearea(gridObj)

## S4 method for signature 'hexagrid'
surfacearea(gridObj)

Arguments

gridObj

(trigrid or hexagrid) Object.

Value

A named numeric vector, in the metric that was given to the function in the coordinates or the radius. "deg" will output the the distance in degrees, "rad" will do so in radians.

Examples

g <- trigrid(3)
surfaces <- surfacearea(g)
surfaces

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.