| colspan {huxtable} | R Documentation |
Functions to get or set the column span property of huxtable table cells.
colspan(ht) colspan(ht) <- value set_colspan(ht, row, col, value, byrow = FALSE)
ht |
A huxtable. |
value |
An integer vector or matrix of integers. Set to |
row |
A row specifier. See |
col |
An optional column specifier. |
byrow |
If |
For colspan, the colspan attribute.
For set_colspan, the ht object.
ht <- huxtable(a = 1:3, b = 1:3) colspan(ht)[1, 1] <- 2 colspan(ht) print_screen(ht)