Skip to contents

Convert distance matrix to matrix of neighbours

Usage

distanceToNeighbour(mdist)

Arguments

mdist

distance matrix as returned by getGaugeDistances

Value

matrix of neighbour names with row names = gauge names and column names = n1, n2, n<n.gauges - 1>