Calculate weights from the distance.

calc_weight_default(dist, delta = 0.7, gamma = 0.5, kernel = "gaussian", ...)

Arguments

dist

(numeric(1))
A distance.

delta

(numeric(1))
Scaling of the distance (bandwidth of the kernel).

gamma

(numeric(1))
Final scaling of the weight.

kernel

(character(1))
A kernel of "gaussian", "epa", "unif", "tri".

...

Additional arguments

Value

(numeric(1))
A weight corresponding to the distance