Description Usage Arguments Examples
Populates tab$body$left_header_colnames automatically
1 | auto_detect_left_headers(tab, keyword = "(all)")
|
tab |
a tab object |
keyword |
The keyword to use to detect summarisation. Uses '(all)' by default because this is what reshape2::dcast uses |
1 2 3 4 | crosstab <- read.csv(system.file("extdata", "example_crosstab.csv", package="xltabr"))
tab <- initialise()
tab <- add_body(tab, crosstab)
tab <- auto_detect_left_headers(tab)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.