Description Usage Arguments Examples
Take a tab and merge the title rows
1 |
tab |
The core tab object |
1 2 3 4 5 6 7 | crosstab <- read.csv(system.file("extdata", "example_crosstab.csv", package="xltabr"))
tab <- initialise()
tab <- add_body(tab, crosstab)
title_text <- c("Main title on first row", "subtitle on second row")
title_style_names <- c("title", "subtitle")
tab <- add_title(tab, title_text, title_style_names)
tab <- auto_merge_title_cells(tab)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.