gcdist {ncf} | R Documentation |
Great-circle distance
Description
Great-circle distance function to calculate spatial distance from lat-long data. Called by various functions.
Usage
gcdist(x, y)
Arguments
x |
vector of longitudes. |
y |
vector of latitudes. |
Value
The distance in km is returned
[Package ncf version 1.3-2 Index]