calculate_spherical_distance: Calculate the spherical distance between two coordinates

Description Usage Arguments Value

View source: R/calculate_spherical_distance.R

Description

Calculate the spherical distance between two coordinates

Usage

1
2
calculate_spherical_distance(long1, lat1, long2, lat2, km = NULL,
  miles = NULL, meters = NULL, feet = NULL, ...)

Arguments

long1

Longitude of point 1

lat1

Latitude of point 1

long2

Longitude of point 2

lat2

Latitude of point 2

km

Express distance in kilometers

miles

Express distance in miles

meters

Express distance in meters

feet

Express distance in feet

Value

The spherical distance between point 1 and point 2.


jaspercooper/distancematrix documentation built on May 18, 2019, 5:55 p.m.