Merges all cells in a StyledTable object that hold the same value. This function can produce multiple merged regions at once.

merge_equal_cells(st, ...)

# S4 method for StyledTable
merge_equal_cells(st, row_id = NULL,
  col_id = NULL)

Arguments

st

A StyledTable object

...

Various arguments

row_id

A vector holding the row numbers the start row and the end row of the merge region

col_id

A vector holding two numbers, the start col and the end col of the merge region

Value

The modified StyledTable object

See also