great_circle_distance: Title

Description Usage Arguments Value Examples

Description

Title

Usage

1
great_circle_distance(lat1, lat2, lon1, lon2, scale = 6371)

Arguments

lat1

The latitude of the first location

lat2

The latitude of the second location

lon1

The longitude of the first location

lon2

The longitude of the second location

scale

The radius of the sphere in kilometers

Value

The great circle distance between the first location and the second location

Examples

1
great_circle_distance(-34, 18, 41, -74)

AlexanderHelman/greatcircle documentation built on May 4, 2019, 1:08 p.m.