Computes the NN adjacency matrix given the neighbours
getNNmatrix(nnRanked, k = -1L, start = 0L, prune = 0)A matrix with the lists of the nearest neighbours for each point
The number of neighbours to consider. Defaults to -1, which means all neighbours.
The index of the first neighbour to consider. Defaults to 0.
The threshold to prune the SNN matrix. If -1, the function will only return the NN matrix. Defaults to 0.
A list with the NN and SNN adjacency matrices.