Internal low-level constructor that creates new objects with the correct structure.
new_pivot_table(
df = data.frame(),
page = vector("character"),
n_col_labels = 0,
n_row_labels = 0,
n_extract = 0
)
A pivot_table
object.
A data frame, contains one or more pivot tables.
A string, additional information associated with the pivot table.
A number, number of columns containing pivot table labels.
A number, number of rows containing pivot table labels.
A number, number of new columns added to the table.