View source: R/nearestNeighbors.R
get_Ri_nearest | R Documentation |
Get the indices of samples nearest to Ri
get_Ri_nearest(dist.mat, Ri, nbd.method, k = 0, Ri.radius = NULL)
dist.mat |
Distance matrix |
Ri |
Sample Ri index. |
nbd.method |
neighborhood method |
k |
Integer for the number of neighbors ( |
Ri.radius |
Radius of the neighborhood (other methods). |
Numeric vector of nearest indices.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.