Description Usage Arguments Details Value See Also Examples
These functions set left, right, top and/or bottom properties simultaneously for the specified cells.
ht |
A huxtable. |
row |
A row specifier. See rowspecs for details. |
col |
An optional column specifier. |
value |
Value(s) to set. Set to |
fn |
A mapping function. See mapping-functions for details. |
set_all_*
functions set top, bottom, left and right properties.
set_tb_*
functions set top and bottom properties.
set_lr_*
functions set left and right properties.
The modified huxtable.
borders, border-colors, border-styles, padding.
1 2 3 4 5 6 7 8 9 10 11 | ht <- as_hux(jams)
ht <- set_all_borders(ht)
ht
ht <- set_all_border_colors(ht, "red")
ht
ht <- set_all_border_styles(ht, "double")
ht <- set_all_padding(ht, 1:3, 1:2, "20px")
ht <- set_tb_padding(ht, 10)
ht <- set_tb_borders(ht)
set_tb_border_colors(ht, "red")
set_tb_border_styles(ht, "double")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.