auto_merge_footer_cells: Take a tab and merge the footer rows

Description Usage Arguments Examples

Description

Take a tab and merge the footer rows

Usage

1

Arguments

tab

The core tab object

Examples

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)
footer_text <- c("Footer contents 1", "Footer contents 2")
footer_style_names <- c("subtitle", "subtitle")
tab <- add_footer(tab, footer_text, footer_style_names)
tab <- auto_merge_footer_cells(tab)

xltabr documentation built on May 2, 2019, 9:11 a.m.