powered by
run.mean(x, window)
run.mean(c(1:10),window=3)
Run the code above in your browser using DataLab