specifies whether result should be centered (default), left-aligned or right-aligned.
endrule
character string indicating how the values at the
beginning and the end (of the data) should be treated.
[object Object],[object Object],[object Object]
Value
Returns a vector of the same size and same class as x.
Details
The implementation is using the function filter to calculate the moving average.
See Also
There's a faster implementation of running mean in the package caToolsrunmean() and a slower one in forecastma().