Truncated tricube kernel weights
dot-tricube.Rd
Implements the weight function (1 - (d / max(d))^3)^3
for non-negative
distances d
, returning 1
when d == 0
and tapering smoothly to 0
at
max(d)
. This mirrors the weight choice in the original research code.