calculateVariableSigmas {roots} | R Documentation |
Calculates sigmas for a distance matrix
Description
Calculates sigmas for a distance matrix
Usage
calculateVariableSigmas(d, knn)
Arguments
d |
Square distance matrix with 0 diagonal |
knn |
Number of nearest neighbours to use for calculation |
Details
Calculates sigmas for a distance matrix Using Laleh Hagherverdi's method
Value
Returns a vector of sigmas
Author(s)
wj241
Examples
## Not run:
sigmas <- calculateVariableSigmas(dist, 5)
## End(Not run)
[Package roots version 1.0 Index]