findCentroids: Find centroids of island polygons (global islands)

Description Usage Arguments Value Author(s)

View source: R/findCentroids_pkg.R

Description

This function takes a polygon shapefile as input and finds the centroids. These can then be used to calculate geographic isolation (distances between island centroids and other islands, continents, etc.)

Usage

1

Arguments

polys

SpatialPolygonsDataFrame of islands for which you want centroids. Assumed unprojected lat/long.

Value

Returns data frame of lat/long coordinates of the centroids for each island.

Author(s)

Tyler J Tran, tylerjtran@gmail.com


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