adjacency_knn: Calculate knn adjacency matrix
Description
Calculates symmetric adjacency: objects are neighbours is either one of them is in the set of nearest neighbours of the other.
Usage
adjacency_knn(X, distance = "euclidean", k = 6)
Arguments
distance
character; distance metric used in the dist
function
k
integer; Number of neighbours
Value
Symmetric binary adjacency matrix