dist_1to1: Compute one to one distance.

Description Usage Arguments Value

View source: R/RcppExports.R

Description

Compute distance between two points (one to one) and return single value.

Usage

1
dist_1to1(xlon, xlat, ylon, ylat, dist_function = "Haversine")

Arguments

xlon

Longitude for starting coordinate pair

xlat

Latitude for starting coordinate pair

ylon

Longitude for ending coordinate pair

ylat

Latitude for ending coordinate pair

dist_function

String name of distance function: Haversine, Vincenty

Value

Distance in meters


btskinner/distRcpp documentation built on Oct. 6, 2017, 11:40 a.m.