pt_options hold options passed to pivot table functions
1 2 3 4 5 | new_pt_options(pt_filter = NA_character_, pt_row = NA_character_,
pt_col = NA_character_, pt_metrics = NA_character_,
pt_sort = NA_character_, pt_sort_order = 1, pt_row_subtotals = FALSE,
pt_col_subtotals = FALSE, pt_grand_totals = NA_character_,
pt_other = NULL)
|
pt_filter |
character that is parsed in context of dt i |
pt_row |
character vector - rows to group by |
pt_col |
character vector - columns to pivot and group by |
pt_metrics |
character that is parsed in context of dt j |
pt_sort |
character vecotr used to sort dt |
pt_sort_order |
1 decreasing (default) or -1 increasing. can be vector. |
pt_row_subtotals |
logical - should row subtotals be included? |
pt_col_subtotals |
logical - should column subtotals be included? |
pt_other |
to be implemented |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.