t to the
central value are also NA, the algorithm has a semi-adaptive window size.
Whenever there are less than 2 non-NA values in the complete window available,
the window size is incrementally increased, till at least 2 non-NA values are
there. In all other cases the algorithm sticks to the pre-set window size.</p>
<p>There are options for using Simple Moving Average (SMA), Linear Weighted
Moving Average (LWMA) and Exponential Weighted Moving Average (EWMA).</p>
<p>SMA: all observations in the window are 