surfacearea {icosa} | R Documentation |
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 |
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
[Package icosa version 0.11.0 Index]