dist.ij: Compute the Indices of the Two Objects Corresponding to a...

Description Usage Arguments Value

Description

Compute the row and column indices of the two objects corresponding to a dist object index. See http://stackoverflow.com/questions/9879608.

Usage

1
dist.ij(index, n)

Arguments

index

the index

n

the number of rows/columns of the distance matrix

Value

a vector with the two indices


thomasWeise/distanceR documentation built on May 14, 2019, 7:35 a.m.