Description Usage Arguments Examples
View source: R/getNearestNeighbours.R
This function leaves only values that belong to the x nearest neighours in a distance matrix, all other values are replaced by 0.
1 | getNearestNeighbours(dist, num)
|
dist |
distance matrix |
num |
number of nearest neighbours |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.