View source: R/structurednessindices.R
knn_dist | R Documentation |
calculate k nearest neighbours from a distance matrix
knn_dist(dis, k)
dis |
distance matrix |
k |
number of nearest neighbours (Note that with a tie, the function returns the alphanumerically first one!) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.