GreatCircleDistanceMatrix: Great Circle Distance Matrix Between Coordinates

Description Usage Arguments Details Value Author(s) Examples

View source: R/GreatCircleDistanceMatrix.R

Description

Returns a distance matrix between points of longitude and latitude

Usage

1
GreatCircleDistanceMatrix(longs, lats, EarthRad = 6367.4447)

Arguments

longs

A vector of decimalised longitudes.

lats

A vector of decimalised latitudes.

EarthRad

Radius of the Earth in kilometres.

Details

Nothing yet.

Value

A distancematrix of minimum Great Circle Distances.

Author(s)

Graeme T. Lloyd graemetlloyd@gmail.com

Examples

1
GreatCircleDistanceMatrix(c(-179, 0, 179), c(89, 0, -89))

laurasoul/dispeRse documentation built on May 25, 2021, 4:50 a.m.