CHullArea: Performs Convex Hull area calculation

Description Usage Arguments Details Value Note Examples

Description

Performs Convex Hull area calculation

Usage

1
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

1
2
3
longs<-c(-12,23,55)
lats<-c(34,22,30)
CHullArea(longs,lats)

Example output

[1] 332

GeoRange documentation built on May 1, 2019, 8:03 p.m.

Related to CHullArea in GeoRange...