Calculates sigmas for a distance matrix
calculateVariableSigmas(d, knn)
d
: Square distance matrix with 0 diagonalknn
: Number of nearest neighbours to use for calculationReturns a vector of sigmas
Calculates sigmas for a distance matrix Using Laleh Hagherverdi's method
## Not run: sigmas <- calculateVariableSigmas(dist, 5) ## End(Not run)
wj241
Useful links