Compute Haversine distance between two points

dist_haversine(xlon, xlat, ylon, ylat)

Arguments

xlon

Longitude for starting coordinate pair

xlat

Latitude for starting coordinate pair

ylon

Longitude for ending coordinate pair

ylat

Latitude for ending coordinate pair

Value

Double of distance between coordinate pairs in meters