earth.dist: earth.dist

Description Usage Arguments Examples

View source: R/earthdist.R

Description

Function to calculate the metric distance between two coordinates (lat, lon)

Usage

1
earth.dist(long1, lat1, long2, lat2)

Arguments

long1

longitude of the first coordinate

lat1

latitude of the first coordinate

long2

longitude of the second coordinate

lat2

latitude of the second coordinate

Examples

1
earth.dist(-70.34, 43.23, -71.29, 43.21)

gwielinski/GWmisc documentation built on May 14, 2017, 6:06 p.m.