powered by
Constructs K-nearest neighbor adjacency matrix.
knn_adj_cpp(coords, k)
Binary adjacency matrix
Numeric matrix of coordinates
Number of neighbors