e old columns.</p>
<p>To pivot a row grouping to a column grouping, pass a grouped
dataset (using group_by2) and specify which grouping variable should
be consumed to produce a set of new columns.</p>
<p>Both arguments can be passed in one call, in which case <code>rows</code> will be handled
first, followed by <code>cols</code>.</p>
<p>See the introduction vignette for more details and examples.</p>

  </div>
  <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
    <nav id="toc" data-toggle="t