You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should probably be a stat_roll() that can calculate rolling statistics given some kernel function.
The kernel function should then accept a measure of centrality and a measure of spread. A simple moving average would then be a uniform kernel like dunif() but parameterised slightly the mean and distance to extremes.
There should probably be a
stat_roll()
that can calculate rolling statistics given some kernel function.The kernel function should then accept a measure of centrality and a measure of spread. A simple moving average would then be a uniform kernel like
dunif()
but parameterised slightly the mean and distance to extremes.Rough sketch for rolling Gaussian kernel here:
https://github.com/teunbrand/tidytuesdayscripts/blob/452451997d819564dc201c7c7f93bbf806a2564c/scripts/2020_04_28_Broadway_Grosses.R#L39-L69
The text was updated successfully, but these errors were encountered: