spherical_distance_cpp: Calculate distance using haversines formula

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Calculate distance using haversines formula

Usage

1
spherical_distance_cpp(lat1, long1, lat2, long2)

Arguments

lat1

latitude from the first location

long1

longitude from the first location

lat2

latitude from the second location

long2

longitude from the second location

Value

distance in metres between two locations


njtierney/copertura documentation built on Nov. 13, 2019, 6:37 p.m.