powered by
Greater circle distance function to calculate spatial distance from lat-long data. Called by various functions.
gcdist(x, y)
Vector of longitudes.
Vector of latitudes.
The distance in km is returned