powered by
This is a convenience function which sets left, right, top and bottom borders for the specified cells.
set_all_borders(ht, row, col, value, byrow = FALSE)
A huxtable.
A row specifier. See rowspecs for details.
rowspecs
An optional column specifier.
A numeric vector or matrix giving border widths in points. Set to 0 for no border. Set to NA to reset to the default.
NA
If TRUE, fill in values by row rather than by column.
TRUE
The modified huxtable.
left_border(), set_outer_borders()
left_border()
set_outer_borders()
# NOT RUN { ht <- huxtable(a = 1:3, b = 1:3) set_all_borders(ht, 1:3, 1:2, 1) # }
Run the code above in your browser using DataLab