geo_dist: Geographical distance

Description Usage Arguments Value

View source: R/auxiliary_tools.R

Description

calculates geo distance between *two* points.

Usage

1
geo_dist(x.loc, z.loc)

Arguments

x.loc

a 2-length vector. The first value is for longitude, the second for latitude.

z.loc

a 2-length vector. The first value is for longitude, the second for latitude.

Value

distance in miles.


OOI documentation built on Jan. 13, 2021, 6:07 a.m.

Related to geo_dist in OOI...