mikeblazanin / gcplyr

gcplyr is an R package that facilitates wrangling and analysis of microbial growth curve data
https://mikeblazanin.github.io/gcplyr/
Other
28 stars 2 forks source link

Add moving average with other kernels #208

Open mikeblazanin opened 4 months ago

mikeblazanin commented 4 months ago

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