set-outer | R Documentation |
Set borders and padding around a rectangle of cells
set_outer_borders(ht, row, col, value = 0.4)
set_outer_border_colors(ht, row, col, value)
set_outer_border_styles(ht, row, col, value)
set_outer_padding(ht, row, col, value)
ht |
A huxtable. |
row |
A row specifier. See rowspecs for details. |
col |
An optional column specifier. |
value |
Border width, color, style or a |
set_outer_borders
sets borders round the top, bottom, left and
right of a group of cells. Behaviour is undefined unless row
and col
specify contiguous sequences. set_outer_border_colors
and
set_outer_border_styles
set border colors and styles. set_outer_padding
sets padding, i.e. top padding on the top row of cells, etc.
ht2 <- huxtable(a = 1:3, b = 1:3)
set_outer_borders(ht2)
set_outer_borders(ht2, 2:3, 1:2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.