In particular, Gaussian kernel can be run with the built-in R function ksmooth, and other kernels can be run with the package KernSmooth
These should be put into a separate function from moving_average most likely, given the differences in arguments allowed (e.g. window_width_n and window_width_n_frac can't be used if we use ksmooth for the backend)
In particular, Gaussian kernel can be run with the built-in R function ksmooth, and other kernels can be run with the package KernSmooth
These should be put into a separate function from moving_average most likely, given the differences in arguments allowed (e.g. window_width_n and window_width_n_frac can't be used if we use ksmooth for the backend)
This is a spinoff from #89