Description Usage Arguments Examples
Add titles to the tab. Title text is provided as a character vector, with each element being a row of the title
1 |
tab |
The core tab object |
title_text |
A character vector. Each element is a row of the title |
title_style_names |
A character vector. Each elemment is a style_name |
1 2 3 4 5 | crosstab <- read.csv(system.file("extdata", "example_crosstab.csv", package="xltabr"))
tab <- initialise()
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.