getDistMat: Obtains distance matrix

Description Usage Arguments Examples

Description

Given a nx2 matrix of latitude and longitude points, getDistMat will create an nxn matrix of distances between the points using Vincenty's formula.

Usage

1
getDistMat(latlon)

Arguments

latlon

An nx2 matrix of latitude and longitude points. See latlon().

Examples

1
2
latlon <- getLatLon(c('New York, New York', 'Boston, MA'))
getDistMat(latlon)

lboxell/geomst documentation built on May 20, 2019, 10:24 p.m.