Description Usage Arguments Value Author(s) Examples
Calculates aggregates in pivot tables
1 |
df |
A dataframe |
rows |
A vector of variable names that will be on the rows of the pivot table |
cols |
A vector of variable names that will be on the columns of the pivot table |
... |
calculations that are passed to 'dplyr::summarise()' via the 'pivotr::cube()' function |
.totals |
A string of how output totals are labeled in the rows and cols |
.keep_total |
one of "all", "overall", "none" |
a tibble
Ismail Muller
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.