d moving average.
Uses semi-adaptive window size to ensure all NAs are replaced.</p>
    </div>

    <div id="ref-usage">
    <div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">na_ma</span><span class="op">(</span><span class="va">x</span>, k <span class="op">=</span> <span class="fl">4</span>, weighting <span class="op">=</span> <span class="st">"exponential"</span>, maxgap <span class="op">=</span> <span class="cn">Inf</span><span class="op">)</span></span></code></pre></div>
 