powered by
runn_mean(vec, runn_mean)
plot(runn_mean(rnorm(1000),150))
Run the code above in your browser using DataLab