dont-index">Source: <a href='https://github.com/ngriffiths21/groupr/blob/master/R/pivot.R'><code>R/pivot.R</code></a></small>
    <div class="hidden name"><code>pivot_grps.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Pivot a dataset by defining the way the current grouping
will be transformed into a new one. A pivot to wider consumes
a row grouping (created by group_by2) and produces a new
set of columns. A pivot to longer consumes a column grouping
and produces a new row grouping.</