Description Usage Arguments Value
View source: R/kernel.functions.r
Triangular kernel function - weights all points within bandwidth on a straight line such that where d=0 weight=1, and where d=bandwidth weight=0; all points beyond bandwidth are weighted 0.
1 | triangular.kernel(d, bandwidth)
|
d |
Numeric vector of distances. |
bandwidth |
Numeric bandwidth. |
A numeric vector of kernel weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.