Description Usage Arguments Details Value
View source: R/som.nn.distance.functions.R
The function is used as distance-dependent weight w for k-NN voting.
1 | dist.fun.inverse(x, sigma = 1.1)
|
x |
Distance or |
sigma |
Maximum distance to be considered. Default is 1.1. |
The function returns 1.0 for x = 0, 0.0 for x ≥ σ and
1 / (x+1)^(1/sigma)
for 0 < x < σ.
Distance-dependent weight.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.