Crandore Hub

donut

Nearest Neighbour Search with Variables on a Torus

Finds the k nearest neighbours in a dataset of specified points, adding the option to wrap certain variables on a torus. The user chooses the algorithm to use to find the nearest neighbours. Two such algorithms, provided by the packages 'RANN' <https://cran.r-project.org/package=RANN>, and 'nabor' <https://cran.r-project.org/package=nabor>, are suggested.

Versions across snapshots

VersionRepositoryFileSize
1.0.3 rolling linux/jammy R-4.5 donut_1.0.3.tar.gz 59.7 KiB
1.0.3 rolling linux/noble R-4.5 donut_1.0.3.tar.gz 59.6 KiB
1.0.3 rolling source/ R- donut_1.0.3.tar.gz 41.3 KiB
1.0.3 latest linux/jammy R-4.5 donut_1.0.3.tar.gz 59.7 KiB
1.0.3 latest linux/noble R-4.5 donut_1.0.3.tar.gz 59.6 KiB
1.0.3 latest source/ R- donut_1.0.3.tar.gz 41.3 KiB
1.0.3 2026-04-26 source/ R- donut_1.0.3.tar.gz 41.3 KiB
1.0.3 2026-04-23 source/ R- donut_1.0.3.tar.gz 41.3 KiB
1.0.3 2026-04-09 windows/windows R-4.5 donut_1.0.3.zip 62.2 KiB
1.0.3 2025-04-20 source/ R- donut_1.0.3.tar.gz 41.3 KiB

Dependencies (latest)

Imports

Suggests