width of the moving average window. Expands to both sides
of the center element e.g. k=2 means 4 observations (2 left, 2 right) are
taken into account. If all observations in the current window are NA, the
window size is automatically increased until there are at least 2 non-NA
values present.</p></dd>


<dt id="arg-weighting">weighting<a class="anchor" aria-label="anchor" href="#arg-weighting"></a></dt>
<dd><p>Weighting to be used. Accepts the following input:</p><ul><li><p>"simple" - Simple Moving Average