Description Usage Arguments Value
In the returned list, the nodes indexed by 'j' are the identified nearest neighbors of the nodes indexed by 'i'. In other words, if 'i = c(0,0,0,1,1,1)' and 'j = c(1,2,3,2,3,4)', then nodes '1, 2 & 3' are nearest neighbors of node 0, but node 0 is not a nearest neighbor of node 1.
1 |
x |
A '[K,N]' matrix of indices of the nearest neighbors of each vertex. 0-indexed. |
A list with fields:
The slowly-varying indices of x
The quickly-varying indices of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.