Crandore Hub

hans

Haversines are not Slow

The haversine is a function used to calculate the distance between a pair of latitude and longitude points while accounting for the assumption that the points are on a spherical globe. This package provides a fast, dataframe compatible, haversine function. For the first publication on the haversine calculation see Joseph de Mendoza y Ríos (1795) <https://books.google.cat/books?id=030t0OqlX2AC> (In Spanish).

Versions across snapshots

VersionRepositoryFileSize
0.1 rolling source/ R- hans_0.1.tar.gz 3.0 KiB
0.1 rolling linux/jammy R-4.5 hans_0.1.tar.gz 39.1 KiB
0.1 rolling linux/noble R-4.5 hans_0.1.tar.gz 39.8 KiB
0.1 latest source/ R- hans_0.1.tar.gz 3.0 KiB
0.1 latest linux/jammy R-4.5 hans_0.1.tar.gz 39.1 KiB
0.1 latest linux/noble R-4.5 hans_0.1.tar.gz 39.8 KiB
0.1 2026-04-23 source/ R- hans_0.1.tar.gz 3.0 KiB
0.1 2026-04-09 windows/windows R-4.5 hans_0.1.zip 364.0 KiB
0.1 2025-04-20 source/ R- hans_0.1.tar.gz 3.0 KiB

Dependencies (latest)

Imports

LinkingTo

Suggests