"><span></span></span>
<span class="r-in"><span><span class="co"># Example 4: Same as example 1, just written with pipe operator</span></span></span>
<span class="r-in"><span><span class="va">tsAirgap</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%&gt;%</a></span> <span class="fu">na_ma</span><span class="op">(</span>weighting <span class="op">=</span> <span class="st">"simple"</span><span class="op">)</span></span></span>
<span class="r-out co"><