Learn R Programming

GeoRange (version 0.1.0)

CHullArea: 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

Value

Returns area of a set of coordinates

Details

Uses the cylindrical equal area projection in order to check if the minimum convex hull wraps around the prime meridian

Examples

Run this code
longs<-c(-12,23,55)
lats<-c(34,22,30)
CHullArea(longs,lats)

Run the code above in your browser using DataLab