GCD_pairs: Travel distance

Description Usage Arguments Value Author(s)

View source: R/GCD_pairs.R

Description

give a set of location L, it calculate the travelling distance, i.e. sum of all the distance from L(i) to L(i-1).

Usage

1
GCD_pairs(x_lon, x_lat, y_lon, y_lat)

Arguments

x_lon

lon

x_lat

lat

y_lon

lon

y_lat

lat

Value

double

Author(s)

Yi Tang


yitang/RExercise documentation built on May 4, 2019, 5:28 p.m.