Learn R Programming

GeoRange (version 0.1.0)

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

Value

Returns the convex hull area is square kilometers

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(-133,-101,56)
lats<-c(33,12,-2)
CHullAreaEarth(longs,lats)

Run the code above in your browser using DataLab