geodist_benchmark: geodist_benchmark

geodist_benchmarkR Documentation

geodist_benchmark

Description

Benchmark errors for different geodist measures

Usage

geodist_benchmark(lat = 0, d = 1, n = 100L)

Arguments

lat

Central latitude where errors should be measured

d

Distance in metres over which errors should be measured

n

Number of random values used to generate estimates

Value

A 'data.frame' with three columns respectively comparing the accuracy of the [Haversine, Vincenty, cheap] metrics against geodesic measures in both absolute and relative terms (as two rows of the table).

Examples

geodist_benchmark (0.0, 1.0, 100L)

hypertidy/geodist documentation built on Jan. 17, 2024, 11:46 p.m.