pivot_flip: Switch the columns with the rows on a pivot table

Description Usage Arguments Examples

View source: R/pivot-flip.R

Description

Switch the columns with the rows on a pivot table

Usage

1
pivot_flip(.data)

Arguments

.data

A pivot_table object

Examples

1
2
3
4
5
retail_orders %>%
  pivot_rows(status) %>%
  pivot_columns(country) %>%
  pivot_values(n()) %>%
  pivot_flip()

edgararuiz/pivotable documentation built on Nov. 18, 2019, 7:49 a.m.