Skip to content
Prev 301144 / 398503 Next

Nearest Neighbors

Look at function get.knn in package FNN:
knns is a list with two components, a matrix of indices to the nearest
neighbors and a matrix of distances to the nearest neighbors.

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352