R/dist_index_converters.R
dist_ij_k.Rd
Convert ij indexes to k indexes for a dist object
dist_ij_k(i, j, size)
row indexes
column indexes
value of size attribute of the dist object
k indexes
dist_ij_k(1:3, 4:6, 10)#> [1] 3 12 20