I'm writing an R function to get the fitted values of the kernel density estimate. For that I use the computational formula of summation of ({n-1 h-1 K{(x - Xi)/h}}?) $$ \hat{f}(x) = \frac1{n h}\sum_{i=1}^n K\left(\frac{x-X_i}{h}\right) $$ where $n$ is the number of observations and $h$ is the bandwidth. Here $K$ is supposed to be the kernel function, but I don't find a clear formula to plug-in for $K$ in this formula.
I'm known that there are various kernel functions, but I clearly couldn't find the list of kernel functions that exist. (Epanechnikov kernel, cosine, Gaussian, Parzen, rectangular, and triangle kernels are among).
Could someone kindly provide me with a/some straightforward formulas to obtain K?
I used the following article: