dist_xy: This function estimates distance of one set of points to...

Description Usage Arguments Examples

View source: R/MEHRSI.R

Description

This function takes two lat-long pairs and calculates the distance between them in m or km

Usage

1
dist_xy(lat1, long1, lat2, long2, unit)

Arguments

lat1

Latitude of point 1

long1

Longitude of point 1

lat2

Latitude of point 2

long2

Longitude of point 2

unit

either "km" or "m"

Examples

1

rooperc4/MEHRSI documentation built on May 21, 2019, 9:35 a.m.