gcdist: Great-circle distance

View source: R/utilities.R

gcdistR 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


ncf documentation built on May 7, 2022, 5:05 p.m.

Related to gcdist in ncf...