What's the best way to get a list of nearest neighbours for each point in a list of point coordinates? I tried calculating the euclidean distance matrix, but am unsure how to then best get the nearest neighbor for each of the points with this matrix as a starting point...
Thx,
Jan