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' <>, and 'nabor' <>, are suggested.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.1 by Paul J. Northrop, a year ago,

Report a bug at

Browse source code at

Authors: Paul J. Northrop [aut, cre, cph]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports graphics

Suggests knitr, nabor, RANN, rmarkdown, testthat

See at CRAN