set_all_borders

0th

Percentile

Set all borders

This is a convenience function which sets left, right, top and bottom borders for the specified cells.

Usage
set_all_borders(ht, row, col, value, byrow = FALSE)
Arguments
ht

A huxtable.

row

A row specifier. See rowspecs for details.

col

An optional column specifier.

value

A numeric vector or matrix giving border widths in points. Set to 0 for no border. Set to NA to reset to the default.

byrow

If TRUE, fill in values by row rather than by column.

Value

The modified huxtable.

See Also

left_border, set_outer_borders

Aliases
  • set_all_borders
Examples
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
ht <- set_all_borders(ht, 1:3, 1:2, 1)
# }
Documentation reproduced from package huxtable, version 1.2.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.