cmav | R Documentation |
Calculate the Centred Moving Average (CMA) for time series.
cmav(
y,
ma = NULL,
fill = c(TRUE, FALSE),
outplot = c(FALSE, TRUE),
fast = c(TRUE, FALSE)
)
y |
input time series. Can be |
ma |
length of centred moving average. If |
fill |
if |
outplot |
if |
fast |
if |
Centred moving average. If y is a ts object, then cma has the same properties.
Nikolaos Kourentzes, nikolaos@kourentzes.com.
Ord K., Fildes R., Kourentzes N. (2017) Principles of Business Forecasting, 2e. Wessex Press Publishing Co., p.109.
cmav(referrals,outplot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.