LongRg: Calculates the longitudinal range in degrees and kilometers,...

Description Usage Arguments Details Value Examples

Description

Calculates the longitudinal range in degrees and kilometers, assuming a latitude of 45 degrees for all points by default. Accounts for the possibility of wrapping around the globe.

Usage

1
LongRg(longs, lats = 45)

Arguments

longs

- Longitudinal occurrences in decimal degrees

lats

- A single value representing the latitude to calculate longitudinal distance from or a list of latitudinal coordinates in decimal degrees

Details

Calculates the longitudinal range as 360-largest longitudinal gap and accounts for the possbility that a taxon's range wraps around the prime meridian

Value

Returns the outermost coordinates of the set, the longitudinal span in degrees and in kilometers

Examples

1
2
3
longs<-c(133,76,-77,7,-80)
lats<-c(45)
LongRg(longs)

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

Related to LongRg in GeoRange...