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