Description Usage Arguments Examples
Switch the columns with the rows on a pivot table
1 | pivot_flip(.data)
|
.data |
A pivot_table object |
1 2 3 4 5 | retail_orders %>%
pivot_rows(status) %>%
pivot_columns(country) %>%
pivot_values(n()) %>%
pivot_flip()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.