R/keyfct.grad.hn.R
keyfct.grad.hn.Rd
The key function contains one parameter, the scale. Current implementation assumes that scaled dist is x/scale, not x/width
keyfct.grad.hn(distance, key.scale)
perpendicular distance vector
vector of scale values
vector of derivatives of the half-normal key function w.r.t. the scale parameter
d key / d scale = exp(-y ^ 2 / (2 scale ^ 2)) * (y ^ 2 / scale ^ 3)