set_page | R Documentation |
Define the page information associated with a pivot table. Previously existing information is replaced by new information.
set_page(pt, row, col, page)
## S3 method for class 'pivot_table'
set_page(pt, row = 0, col = 0, page = "")
pt |
A |
row , col |
A cell (row and column number), page information included in the table. |
page |
A string, page information. |
Each pivot table implements a report. The pivot table page represents the context of that report. It is useful when we work with several pivot tables with the same structure: for example, the page can allow us to differentiate their origin, date or author. This information is often included in the file name, sheet name, or a cell attached to the pivot table.
A pivot_table
object.
pivot_table
Other pivot table definition functions:
define_labels()
,
get_page()
,
pivot_table()
pt <- pt_ex |> set_page(1, 1)
pt <- pt_ex |> set_page(page = "M4")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.