distance_degrees_to_km: Formula to calculate distances between two lon-lat points

distance_degrees_to_kmR Documentation

Formula to calculate distances between two lon-lat points

Description

Formula to calculate distances between two lon-lat points

Usage

distance_degrees_to_km(lon1, lat1, lon2, lat2)

Arguments

lon1

The name of the column containing the first point longitude

lat1

The name of the column containing the first point latitude

lon2

The name of the column containing the second point longitude

lat2

The name of the column containing the second point latitude

Examples

kilometers <- distance_degrees_to_km(lon1, lat1, lon2, lat2)

mark-me/graydon.package documentation built on Nov. 14, 2023, 5:31 p.m.