helper function for smoothing a sequence
msum(x, n = 5, sides = 1)
width of kernel
should the moving average be calculated in middle, or starting from one side
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.