Description Usage Arguments Value Author(s)
View source: R/calcIslandArea_pkg.R
This function re-projects a spatialPolygonsDataFrame (from shapefile) of islands in the global islands dataset to the World cylindrical equal area projection, and calculates area for each island (or each polygon, rather).
1 | calcIslandArea(polys)
|
polys |
SpatialPolygonsDataFrame of your global islands dataset. Unprojected lat/long. |
Returns vector of polygon areas. Can be added as a field in attribute table of SPDF of global islands.
Tyler J Tran, tylerjtran@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.