Description Usage Arguments Value
View source: R/calc_weight_default.R
Calculate weights from the distance.
1 | calc_weight_default(dist, delta = 0.7, gamma = 0.5, kernel = "gaussian", ...)
|
dist |
( |
delta |
( |
gamma |
( |
kernel |
( |
... |
Additional arguments |
(numeric(1)
)
A weight corresponding to the distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.