left_border_color | R Documentation |
These functions set border colors.
left_border_color(ht)
right_border_color(ht)
top_border_color(ht)
bottom_border_color(ht)
left_border_color(ht) <- value
right_border_color(ht) <- value
top_border_color(ht) <- value
bottom_border_color(ht) <- value
set_left_border_color(ht, row, col, value)
set_right_border_color(ht, row, col, value)
set_top_border_color(ht, row, col, value)
set_bottom_border_color(ht, row, col, value)
map_left_border_color(ht, row, col, fn)
map_right_border_color(ht, row, col, fn)
map_top_border_color(ht, row, col, fn)
map_bottom_border_color(ht, row, col, fn)
ht |
A huxtable. |
value |
A valid R color, e.g. |
row |
A row specifier. See rowspecs for details. |
col |
An optional column specifier. |
fn |
A mapping function. See mapping-functions for details. |
Borders are always "collapsed": right_border_color(ht)[, 1]
is the same as
left_border_color(ht)[, 2]
, and setting one sets the other.
Transparent borders with the alpha channel set are not guaranteed to work.
set-multiple, brdr()
Other border properties:
left_border()
,
left_border_style()
jams <- set_all_borders(jams)
bottom_border_color(jams)[1, ] <- "red"
jams
set_bottom_border_color(jams, "blue")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.