huxtable (version 1.2.0)

set_outer_borders: Set outer borders round a rectangle of cells

Description

This is a convenience function to set a border round the top, bottom, left and right of a group of cells.

Usage

set_outer_borders(ht, row, col, value)

Arguments

ht

A huxtable

row

A row specifier. See rowspecs for details.

col

A column specifier.

value

A numeric value for the border width. Set to 0 for no border.

Value

The modified huxtable.

See Also

left_border, set_all_borders

Examples

Run this code
# NOT RUN {
ht <- huxtable(a = 1:3, b = 1:3)
set_outer_borders(ht, 1)
set_outer_borders(ht, 2:3, 1:2, 1)

# }

Run the code above in your browser using DataLab