getNNmatrix {ClustAssess} | R Documentation |
Computes the NN adjacency matrix given the neighbours
Description
Computes the NN adjacency matrix given the neighbours
Usage
getNNmatrix(nnRanked, k = -1L, start = 0L, prune = 0)
Arguments
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 |
Value
A list with the NN and SNN adjacency matrices.
[Package ClustAssess version 1.1.0 Index]