knn_dist {stops} | R Documentation |
calculate k nearest neighbours from a distance matrix
Description
calculate k nearest neighbours from a distance matrix
Usage
knn_dist(dis, k)
Arguments
dis |
distance matrix |
k |
number of nearest neighbours (Note that with a tie, the function returns the alphanumerically first one!) |
[Package stops version 1.6-2 Index]