Define the quantity of rows and columns that contain labels
Source:R/pivot_table.R
define_labels.Rd
A pivot table should only contain label rows and columns, and an array of values, usually numeric data. This function defines the quantity of rows and columns that contain labels.
Arguments
- pt
A
pivot_table
object.- n_col
A number, quantity of columns containing pivot table labels.
- n_row
A number, quantity of rows containing pivot table labels.
See also
Other pivot table definition functions:
get_page()
,
pivot_table()
,
set_page()