Description Usage Arguments Value Examples
Computes a simple moving average smoother.
1 |
x |
Univariate vector, numeric or ts object with only one dimension. |
order |
Order of moving average smoother. |
centre |
Centers the moving average for even orders. |
fill |
Numeric value(s) or function used to fill observations. |
Returns a vector with the same class and attributes as the input vector.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.