Calculate weights from the distance.
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