powered by
filter data by average moving box
ma(x, n)
a vector
A number to indentify the size of the moving box.
The filtered data
# NOT RUN { ma(rnorm(1000),5) # }
Run the code above in your browser using DataLab