Description Usage Arguments Examples
View source: R/to-pivottabler.R
Coerce to a pivottabler object
1 2 | to_pivottabler(x, include_column_totals = NULL,
include_row_totals = NULL)
|
x |
A pivot_prep or pivot_table object |
include_column_totals |
Indicates if the column totals are included in the pivot table |
include_row_totals |
Indicates if the row totals are included in the pivot table |
1 2 3 4 5 6 7 | pt <- retail_orders %>%
pivot_rows(status) %>%
pivot_columns(country) %>%
pivot_values(n()) %>%
to_pivottabler()
pt$asMatrix()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.