Description Usage Arguments Value See Also Examples
Smoothing a time series with moving averages using the filter
function.
1 | ma(x, n, sides = 1)
|
x |
numeric vector to be smoothed |
n |
numeric vector of length one determining the width of the smoothing window |
sides |
see |
a vector as long as x, but smoothed. Possibly with NAs.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.