pt_grps | R Documentation |
Function to add row or column groups to budget pivot table
pt_grps(pt, cols, colgrp = T)
pt |
Pivot table created by pivottabler::PivotTable$new() |
cols |
Columns to add as group to row or column in pivot table; string vector |
colgrp |
Whether to add columns as groups in columns of pivot table, or as rows of pivot table; default T, for columns |
Pivot table with columns added in as rows or columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.