#' @importFrom janitor adorn_totals
#' @method print tabulation
#' @export
print.tabulation <- function (
x,
totals = NULL,
...
) {
if (!is.null(totals)) {
x <- janitor::adorn_totals(x, totals)
}
NextMethod("print")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.