View source: R/path_geodesic_utils.R
| dist.to.knn | R Documentation |
Produce k-NN Distance and Index Matrices from a Distance Matrix
dist.to.knn(d, k)
d |
Symmetric distance matrix. |
k |
Number of nearest neighbors to return per row. |
A list with nn.i and nn.d matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.