powered by
Triangular kernel function
Triang.kernel(x)
a vector.
Triangular Kernel $$ K(x) = ( 1 - abs(x) ) (abs(x) <= 1) $$ We recommend a critical value of 6.9 for this kernel.
# NOT RUN { plot(function(x) Triang.kernel(x), -2, 2, main = " Triangular kernel") # }
Run the code above in your browser using DataLab