Set the default agregation for an R session
pivot_default_values(...)
... | Variables or calculation to aggregate by |
---|
It records the named quotation variables into via the options() command, inside the "pivotable_default_values" option.
#> n() #> Cancelled 4 #> Disputed 3 #> In Process 6 #> On Hold 4 #> Resolved 4 #> Shipped 286 #> Total 307#> sum(sales) #> Cancelled 194487.48 #> Disputed 72212.86 #> In Process 144729.96 #> On Hold 178979.19 #> Resolved 150718.28 #> Shipped 9291501.08 #> Total 10032628.85