neighbors
finds the k points in the
data set (or the second data set) that are closest to each point in
the data set (or the first data set)
neighbors(X, Y = NULL, method = "euclidean", n.neighbors = 1, init.info = NULL)
X
diss
diss
nrow(X)
by n.neighbors
matrix of distances