calculateVariableSigmas: Calculates sigmas for a distance matrix

Description Usage Arguments Details Value Author(s) Examples

View source: R/diffusion.r

Description

Calculates sigmas for a distance matrix

Usage

1

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

1
2
3
4
## Not run: 
sigmas <- calculateVariableSigmas(dist, 5)

## End(Not run)

wjawaid/roots documentation built on Sept. 12, 2017, 9:51 a.m.