Description Usage Arguments Details Value Author(s)

For internal use only

1 |

`X` |
a vector of distances |

Used internally to find the nearest neighbors.
It searches in lower (or upper) triangular matrix. Therefore this must be the format of the
input data. The piece of code int `len = (sqrt(X.size()*8+1)+1)/2`

generated an error in CRAN
since `sqrt`

cannot be applied to integers.

a vector of the indices of the nearest neighbors

Antoine Stevens

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.