powered by
Functions to get or set the row span property of huxtable table cells.
rowspan(ht) rowspan(ht) <- value set_rowspan(ht, row, col, value, byrow = FALSE)
A huxtable.
An integer vector or matrix of integers. Set to NA to reset to the default.
NA
A row specifier. See rowspecs for details.
rowspecs
An optional column specifier.
If TRUE, fill in values by row rather than by column.
TRUE
For rowspan, the rowspan attribute. For set_rowspan, the ht object.
rowspan
set_rowspan
ht
# NOT RUN { ht <- huxtable(a = 1:3, b = 1:3) rowspan(ht)[1, 1] <- 2 rowspan(ht) print_screen(ht) # }
Run the code above in your browser using DataLab