calculateVariableSigmas function

Calculates sigmas for a distance matrix

Calculates sigmas for a distance matrix

calculateVariableSigmas(d, knn)

Arguments

  • d: Square distance matrix with 0 diagonal
  • knn: Number of nearest neighbours to use for calculation

Returns

Returns a vector of sigmas

Details

Calculates sigmas for a distance matrix Using Laleh Hagherverdi's method

Examples

## Not run: sigmas <- calculateVariableSigmas(dist, 5) ## End(Not run)

Author(s)

wj241

  • Maintainer: Wajid Jawaid
  • License: GPL (>= 2)
  • Last published: 2017-07-11

Useful links