Add an aggregation to a pivot table
pivot_values(.data, ...)
Arguments
.data |
A data.frame or a pivot_prep object |
... |
Variables or calculation to aggregate by |
Examples
#> n()
#> Cancelled 4
#> Disputed 3
#> In Process 6
#> On Hold 4
#> Resolved 4
#> Shipped 286
#> Total 307