getNNmatrix | R Documentation |
Computes the NN adjacency matrix given the neighbours
getNNmatrix(nnRanked, k = -1L, start = 0L, prune = 0)
nnRanked |
A matrix with the lists of the nearest neighbours for each point |
k |
The number of neighbours to consider. Defaults to |
start |
The index of the first neighbour to consider. Defaults to |
prune |
The threshold to prune the SNN matrix. If -1, the function will only return the NN matrix. Defaults to |
A list with the NN and SNN adjacency matrices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.