auto_merge_title_cells: Take a tab and merge the title rows

Description Usage Arguments Examples

Description

Take a tab and merge the title 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)
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)

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