CHullAreaEarth {GeoRange} | R Documentation |
Performs convex hull area calculation from coordinate sets on the Earth's surface
Description
Performs convex hull area calculation from coordinate sets on the Earth's surface
Usage
CHullAreaEarth(longs, lats)
Arguments
longs |
- Longitudinal coordinates of occurrences in decimal degrees |
lats |
- Latitudinal coordinates of occurrences in decimal degrees |
Details
Uses the cylindrical equal area projection in order to check if the minimum convex hull wraps around the prime meridian
Value
Returns the convex hull area is square kilometers
Note
Relies on the 'sp' package for the Polygon and chull function. Assumes latitude and longitude coordinates use the WGS84 datum
Examples
longs<-c(-133,-101,56)
lats<-c(33,12,-2)
CHullAreaEarth(longs,lats)
[Package GeoRange version 0.1.0 Index]