LongRg: 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.
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
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
Value
Returns the outermost coordinates of the set, the longitudinal span in degrees and in kilometers
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