powered by
This function evaluates an Epanechnikov kernel
k.epan(x)
A vector of the same length as x where each entry is 0.75 * (1 - x^2) if x < 1 and 0 otherwise.
x
0.75 * (1 - x^2)
x < 1
a vector of real numbers
Matias Salibian-Barrera, matias@stat.ubc.ca, Alejandra Martinez
This function evaluates an Epanechnikov kernel.
x <- seq(-2, 2, length=10) k.epan(x)
Run the code above in your browser using DataLab