View source: R/som.nn.distance.functions.R
dist.fun.bubble | R Documentation |
The function is used as distance-dependent weight w
for k-NN voting.
dist.fun.bubble(x, sigma = 1.1)
x |
Distance or |
sigma |
Maximum distance to be considered. Default is 1.1. |
The function returns 1.0 for 0 < x \le \sigma
and 0.0 for x > \sigma
.
Distance-dependent weight.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.