Computes distance between row i and rows i + 1, i + 2, ..., n where n is the total number of rows
distIndex(i, mat, method, size)
i | row index |
---|---|
mat | numeric matrix |
method | method is passed to |
size | Number of rows of mat |
(numeric vector) Vector of n - i distances where n is the total number of rows