This is a convenience function which sets left, right, top and bottom border colors for the specified cells.
set_all_border_colors(ht, row, col, value, byrow = FALSE)
A huxtable.
A row specifier. See rowspecs for details.
rowspecs
An optional column specifier.
A vector or matrix of colors. Set to NA for the default. 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_color
# NOT RUN { ht <- huxtable(a = 1:3, b = 1:3) ht <- set_all_border_colors(ht, 'red') # }
Run the code above in your browser using DataCamp Workspace