Description Usage Arguments Value
Computing moving sum of all past values including last value using a window size
1 | ms(z, window_size = 3L)
|
z |
the numeric vector |
window_size |
the integer window size |
a vector of the same length pre-padded with NAs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.