Description Usage Arguments Details Value Examples

Computes the nearest neighbor distances and indices of a sample using the infinite norm.

1 |

`data` |
Matrix of sample observations, each row is an observation. |

`k` |
Neighborhood order. |

Nearest neighbors are computed using the brute-force method.

List of distances and indices of the k-nearest neighbors of each point in `data`

.

1 2 3 4 5 6 7 8 9 10 11 |

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.