powered by
nearestNeighbors
trimNeighbors(nnm, cutoff)
nnm
indexes
similarties
jarvisPatrick
data(sdfsample) ap = sdf2ap(sdfsample) nnm = nearestNeighbors(ap,numNbrs=20) nnm = trimNeighbors(nnm,cutoff=0.5) clustering = jarvisPatrick(nnm,k=2,mode="a1b")
Run the code above in your browser using DataLab