geoDist: geographic distance

Description Usage Arguments Value

Description

geographic distance between two sets of points

Usage

1
geoDist(x, y)

Arguments

x, y

length-2 (or 2-column object coercable to matrix) where the first element (or column) is longtitude, second is latitude

Value

returns the distance between x and y. If x and y have multiple rows, then returns a vector of the geographic distances between corresponding rows


rBatt/topoFish documentation built on May 20, 2019, 2:09 p.m.