https://github.com/jefferislab/RANN
R package providing fast nearest neighbour search (wraps ANN library)
https://github.com/jefferislab/RANN
ann-library nearest-neighbors nearest-neighbours r r-package
Last synced: 1 day ago
JSON representation
R package providing fast nearest neighbour search (wraps ANN library)
- Host: GitHub
- URL: https://github.com/jefferislab/RANN
- Owner: jefferislab
- Created: 2013-07-23T22:56:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2024-08-25T15:58:58.000Z (11 months ago)
- Last Synced: 2025-06-09T17:24:08.408Z (about 1 month ago)
- Topics: ann-library, nearest-neighbors, nearest-neighbours, r, r-package
- Language: R
- Homepage: http://jefferislab.github.io/RANN/
- Size: 1.26 MB
- Stars: 59
- Watchers: 4
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
Awesome Lists containing this project
README
# RANN
[](https://github.com/jefferislab/RANN/releases/latest)
[](https://CRAN.R-project.org/package=RANN)
[](https://github.com/jefferislab/RANN/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/jefferislab/RANN)
[](https://www.r-pkg.org/pkg/RANN)Finds the k nearest neighbours for every point in a given dataset
in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is
support for approximate as well as exact searches, fixed radius searches
and bd as well as kd trees.This package implements nearest neighbors for the Euclidean (L2) metric.
For the Manhattan (L1) metric, install the [RANN1](https://github.com/jefferislab/RANN/tree/master-L1) package.For further details on the underlying ANN library, see https://www.cs.umd.edu/~mount/ANN.
## Installation
### Released versions
The recommendation is to install the released version from [CRAN](https://cran.r-project.org/) by doing:```r
install.packages("RANN")
```### Bleeding Edge
You can, however, use the **remotes** package to install the development version:```r
# install.packages("remotes")
remotes::install_github("jefferis/RANN")
```## Feedback
Please feel free to:* submit suggestions and bug-reports at:
* send pull requests after forking:
* e-mail the maintainer:## Copyright and License
see [inst/COPYRIGHT](inst/COPYRIGHT) and [DESCRIPTION](DESCRIPTION) files for copyright and license information.