geodist_benchmark {geodist} | R 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)
[Package geodist version 0.1.0 Index]