custom_dist: Function to compute the distance between two points

Description Usage Arguments Value

View source: R/player_distance.R

Description

This function was adapted from the source code of footprint::latlong_footprint(). Credits go to Anthony Schmidt.

Usage

1
custom_dist(departure_lat, departure_long, arrival_lat, arrival_long)

Arguments

departure_lat

Latitude of the first city

departure_long

Longitude of the first city

arrival_lat

Latitude of the second city

arrival_long

Longitude of the second city

Value

A numeric value


etiennebacher/tennistravel documentation built on Dec. 20, 2021, 6:42 a.m.