get_spatial_distance: Get great circle distance between spatial points

Description Usage Arguments

View source: R/misc.R

Description

Get great circle distance between spatial points, defined by a vector of longitudes and latitudes. Distances are returned in a pairwise distance matrix.

Usage

1

Arguments

long, lat

vector of longitudes and latitudes.


mrc-ide/RMAPI documentation built on Feb. 11, 2020, 4:53 a.m.