neighbors.identify {dissUtils} | R Documentation |
Uses a distance object and a vector of known distances to identify the neighbors that correspond to those distances.
neighbors.identify(neighbor.matrix, all.dists)
neighbor.matrix |
a matrix of distances to neighbors |
all.dists |
either a distance object or a matrix of distances such as is
produced by |
a dim(neighbor.matrix)
matrix of integer indices between 1 and all.dists$Size
or ncol(all.dists)