padding {huxtable} | R Documentation |
Set padding
Description
These functions set the space around the edges of cells, within the borders.
Usage
left_padding(ht)
left_padding(ht) <- value
set_left_padding(ht, row, col, value )
map_left_padding(ht, row, col, fn)
right_padding(ht)
right_padding(ht) <- value
set_right_padding(ht, row, col, value )
map_right_padding(ht, row, col, fn)
top_padding(ht)
top_padding(ht) <- value
set_top_padding(ht, row, col, value )
map_top_padding(ht, row, col, fn)
bottom_padding(ht)
bottom_padding(ht) <- value
set_bottom_padding(ht, row, col, value )
map_bottom_padding(ht, row, col, fn)
Arguments
ht |
A huxtable. |
row |
A row specifier. See rowspecs for details. |
col |
An optional column specifier. |
fn |
A mapping function. See mapping-functions for details. |
value |
Numeric: padding width/height in points. |
See Also
Examples
left_padding(jams) <- 2
left_padding(jams)
jams <- set_left_padding(jams, 2)
left_padding(jams)
[Package huxtable version 5.5.6 Index]