calcIslandArea: Calculating island area

Description Usage Arguments Value Author(s)

View source: R/calcIslandArea_pkg.R

Description

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

Usage

1

Arguments

polys

SpatialPolygonsDataFrame of your global islands dataset. Unprojected lat/long.

Value

Returns vector of polygon areas. Can be added as a field in attribute table of SPDF of global islands.

Author(s)

Tyler J Tran, tylerjtran@gmail.com


mrhelmus/ieco documentation built on May 23, 2019, 7:37 a.m.