surfacearea | R Documentation |
This function will return the areas of all cells in the specified grid object.
surfacearea(gridObj)
## S4 method for signature 'trigrid'
surfacearea(gridObj)
## S4 method for signature 'hexagrid'
surfacearea(gridObj)
gridObj |
( |
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.
g <- trigrid(3)
surfaces <- surfacearea(g)
surfaces
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.