square.kernel: Square kernel
Description
Square kernel function - weights all points within bandwidth as 1, all others as 0.
Usage
square.kernel(d, bandwidth)
Value
A numeric vector of kernel weights.
Arguments
- d
Numeric vector of distances.
- bandwidth
Numeric bandwidth.