knnalgorithm: Auxiliary function for KNN and IMC algorithms

Description

Auxiliary function

Usage

1
knnalgorithm(distance, mutual, k)

Arguments

distance

distance matrix

mutual

logical specifying if the connection between neighbors must be mutual

k

maximum order of neighbors

Value

An adjacency matrix is returned.

See Also

sc_GraphBuilderObj(), sc_clusterObj()


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.