pivot_table <- function(rows = NULL, columns = NULL,
values = getOption("pivotable_default_values"),
src = NULL
) {
structure(
list(
rows = rows,
columns = columns,
values = values,
focus = NULL,
retain = NULL,
level = list()
),
class = "pivot_table"
)
}
#' @export
print.pivot_table <- function(x, ...) {
print(to_pivottabler(x))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.