="op">%&gt;%</span><span class="st"> </span><span class="kw"><a href="../reference/fill_by_function.html">fill_by_function</a></span>(<span class="dt">fun =</span> mean)</a></code></pre></div>
<pre><code>##            x        y
## 1 2016-11-21 2.000000
## 2 2016-11-22 3.333333
## 3 2016-11-23 4.000000
## 4 2016-11-24 4.000000</code></pre>
<div class="sourceCode" id="cb40"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb40-1" data-line-number="1">counts <span class="op">%&gt