gaussian.square.kernel: Gaussian square kernel
Description
Gaussian square kernel function - weights all points within bandwidth by distance on a Gaussian curve with standard deviation of bandwidth, but all points beyond bandwidth at 0.
Usage
gaussian.square.kernel(d, bandwidth)
Value
A numeric vector of kernel weights.
Arguments
- d
Numeric vector of distances.
- bandwidth
Numeric bandwidth.