Triangular Kernel Function x_i: the point for which to center x: the data points h: the bandwidth plot(x, tri(x_i = 0, x = x, h = 0.4))
1 | weight_tri(x_i, x, h)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.