Rnanoflann Rnanoflann

CRAN_Status_Badge metacran downloads metacran downloads CRAN_latest_release_date R (linux) R (MacOS) R (windows)

1. About

Rnanoflann is a wrapper for C++’s library nanoflan which performs nearest neighbors search using kd-trees.

2. Usage

You can use the exported Rnanoflann::nn function or directly nanoflan via LinkignTo mechanism.

2.1. Rnanoflann

Rnanoflann export the function nn that performs nearest neighbors search with options:

2.2. LinkingTo

Add in Description in LinkingTo section the Rnanoflann and then: