C    a 20 2016-11-01
#&gt; 23    C    a 11 2016-11-01</div><div class='input'>
<span class='co'># pad by two groups vars</span>
<span class='no'>x_df_grp</span> <span class='kw'>%&gt;%</span> <span class='fu'>pad</span>(<span class='kw'>group</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='st'>'grp1'</span>, <span class='st'>'grp2'</span>), <span class='kw'>interval</span> <span class='kw'>=</span> <span class='st'>"