get_distances: Get the distance in kilometers between two points.

Description Usage Arguments Value

View source: R/get_distances.R

Description

Get the distance in kilometers between two points.

Usage

1
get_distances(lat1, long1, lat2, long2)

Arguments

lat1

Latitude in decimals

long1

Longitude in decimals

lat2

Latitude in decimals

long2

Longitude in decimals

Value

A numeric vector with the distance in kilometers.


gustavobio/brclimate documentation built on Aug. 23, 2017, 10:20 a.m.