CHullArea: Performs Convex Hull area calculation

Description Usage Arguments Details Value Note Examples

View source: R/CHullArea.R

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)

GeoRange documentation built on June 20, 2017, 9:03 a.m.