Get the index of the dist object corresponding to some column
start in the symmetric form of the distance matrix
colStartIndex(i, size)
Arguments
i |
Column number |
size |
Size of the dist object |
Value
An index of dist object
Examples
colStartIndex(2, 10)
#> [1] 10