Description Usage Arguments Value Author(s)
View source: R/findCentroids_pkg.R
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.)
| 1 | findCentroids(polys)
 | 
| polys | SpatialPolygonsDataFrame of islands for which you want centroids. Assumed unprojected lat/long. | 
Returns data frame of lat/long coordinates of the centroids for each island.
Tyler J Tran, tylerjtran@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.