dist.index: Compute the Index into a 'dist' Object

Description Usage Arguments Value

Description

Compute the index into a dist object based on two indexes of objects whose distance should be computed. See http://stackoverflow.com/questions/9879608.

Usage

1
dist.index(i, j, n)

Arguments

i

the first row or column index in the distance matrix

j

the second row or column index in the distance matrix

n

the number of rows/columns of the distance matrix

Value

0L if i == j, else the index in the dist object


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