Description Usage Arguments Value

`nearest_neighbor_search`

searches for the k nearest neighbors of a set of
query points.

1 2 | ```
nearest_neighbor_search(distances, k, query_indices = NULL,
search_indices = NULL, radius = NULL)
``` |

`distances` |
A |

`k` |
The number of neighbors to search for. |

`query_indices` |
An integer vector with point indices to query. If |

`search_indices` |
An integer vector with point indices to search among. If |

`radius` |
Restrict the search to a fixed radius around each query. If fewer than |

A matrix with point indices for the nearest neighbors. Columns in this matrix indicate queries, and rows are ordered by distances from the query.

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.