powered by
Convert indices into a dist object to row, column coordinates of the corresponding distance matrix
idx2rowcol(idx, n)
a matrix with two columns nr and nc
vector of indices
size of the n x n distance matrix