powered by
Calculates the value of the Epanechnikov kernel function for any vector.
kernel(v)
A vector of real numbers.
A vector of the calculated kernel values for the input vector.
Epanechnikov, V. A. (1969). Non-parametric estimation of a multivariate probability density. Theory of Probability and its Applications, 14(1), 153-6.
# NOT RUN { x = runif(10) kernel(x) # }
Run the code above in your browser using DataLab