neighbor.identify: Find Neighbor Indices

Description Usage Arguments Value See Also

Description

Uses a distance object and a vector of known distances to identify the neighbors that correspond to those distances.

Usage

1
neighbors.identify(neighbor.matrix, all.dists)

Arguments

neighbor.matrix

a matrix of distances to neighbors

all.dists

either a distance object or a matrix of distances such as is produced by diss

Value

a dim(neighbor.matrix) matrix of integer indices between 1 and all.dists$Size or ncol(all.dists)

See Also

diss, dist


dissUtils documentation built on May 1, 2019, 7:28 p.m.