Description Usage Arguments Details Examples
View source: R/pivot-default.R
Set the default agregation for an R session
1 |
... |
Variables or calculation to aggregate by |
It records the named quotation variables into via the options() command, inside the "pivotable_default_values" option.
1 2 3 4 5 6 7 8 9 | pivot_default_values(n())
retail_orders %>%
pivot_rows(status)
pivot_default_values(sum(sales))
retail_orders %>%
pivot_rows(status)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.