diss.index: Convert Indices from Distance Object to Matrix

Description Usage Arguments See Also Examples

Description

Given an index into a distance object of Size N, finds the coordinates of the same pairwise dissimilarity in an N by N matrix of dissimilarities

Usage

1
diss.index(index, N)

Arguments

index

the position of the item in the distance object

N

the Size of the distance object, the number of points it compares

See Also

dist

Examples

1
2
3
4
5
6
7
  ## The function is currently defined as
  function (index, N)
  {
    i <- floor(.raw.i(n, ix));

    return(c(i = i, j = .calc.j(i, n, ix)));
  }


Search within the dissUtils package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.