CHullArea {GeoRange} | R Documentation |
Performs Convex Hull area calculation
Description
Performs Convex Hull area calculation
Usage
CHullArea(longs, lats)
Arguments
longs |
- Array of longitudinal occurrence values in decimal degrees |
lats |
- Array of latitudinal occurrence values 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 area of a set of coordinates
Note
Relies on the 'sp' package for the Polygon and chull function
Examples
longs<-c(-12,23,55)
lats<-c(34,22,30)
CHullArea(longs,lats)
[Package GeoRange version 0.1.0 Index]