search.neighbour | R Documentation |
search.neighbour give the id of the Kth nearest neighbour
search.neighbour(vdist, k)
vdist |
distance vector of point with other points |
k |
number of neighbours |
id of the Kth nearest neighbour
computeGaussianSimilarityZP
vdist=c(0,2,1,5,7,1,3)
id<-search.neighbour(vdist,2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.