| nndup | R Documentation |
nndup determines the indices of duplicated
elements for a nearest neighbors list created by a
function such as nnpop or
knn. The indices are related to the list
returned by nn2zones.
nndup(nn, N = max(unlist(nn)))
nn |
A list of nearest neighbors. |
N |
The largest value in |
A logical vector of indicating duplicate indices.
nn <- list(1:3, c(2:1, 4))
nndup(nn, 4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.