Debian Codegraph @

README.md

raw
1 # RANN
2 [![Release Version](https://img.shields.io/github/release/jefferislab/RANN.svg)](https://github.com/jefferislab/RANN/releases/latest)
3 [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/RANN)](https://CRAN.R-project.org/package=RANN)
4 [![R-CMD-check](https://github.com/jefferis/RANN/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/jefferislab/RANN/actions/workflows/R-CMD-check.yaml)
5 [![Codecov test coverage](https://codecov.io/gh/jefferislab/RANN/graph/badge.svg)](https://app.codecov.io/gh/jefferislab/RANN)
6 [![Downloads](https://cranlogs.r-pkg.org/badges/RANN?color=brightgreen)](https://www.r-pkg.org/pkg/RANN)
7
8 Finds the k nearest neighbours for every point in a given dataset
9 in O(N log N) time using Arya and Mount's ANN library (v1.1.3). There is
10 support for approximate as well as exact searches, fixed radius searches
11 and bd as well as kd trees.
12
13 This package implements nearest neighbors for the Euclidean (L2) metric.
14 For the Manhattan (L1) metric, install the [RANN1](https://github.com/jefferislab/RANN/tree/master-L1) package.
15
16 For further details on the underlying ANN library, see https://www.cs.umd.edu/~mount/ANN.
17
18 ## Installation
19 ### Released versions
20 The recommendation is to install the released version from [CRAN](https://cran.r-project.org/) by doing:
21
22 ```r
23 install.packages("RANN")
24 ```
25
26 ### Bleeding Edge
27 You can, however, use the **remotes** package to install the development version:
28
29 ```r
30 # install.packages("remotes")
31 remotes::install_github("jefferis/RANN")
32 ```
33
34 ## Feedback
35 Please feel free to:
36
37 * submit suggestions and bug-reports at: <https://github.com/jefferislab/RANN/issues>
38 * send pull requests after forking: <https://github.com/jefferislab/RANN/>
39 * e-mail the maintainer: <[email protected]>
40
41 ## Copyright and License
42 see [inst/COPYRIGHT](inst/COPYRIGHT) and [DESCRIPTION](DESCRIPTION) files for copyright and license information.