An Accurate kNN Implementation with Multiple Distance Measures

Similarly to the 'FNN' package, this package allows calculation of the k nearest neighbors (kNN) of a data matrix. The implementation is based on cover trees introduced by Alina Beygelzimer, Sham Kakade, and John Langford (2006) .


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 by Philipp Angerer, 2 years ago

Report a bug at

Browse source code at

Authors: Philipp Angerer [cre, aut] , David Crane [cph, aut]

Documentation:   PDF Manual  

AGPL-3 license

Imports Rcpp, RcppEigen, Matrix, methods

Suggests testthat, FNN

Linking to Rcpp, RcppEigen

System requirements: C++11

See at CRAN