R: Set outer borders round a rectangle of cells

set_outer_borders {huxtable} | R Documentation

## 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

    ht <- huxtable(a = 1:3, b = 1:3)
    set_outer_borders(ht, 1)
    set_outer_borders(ht, 2:3, 1:2, 1)

[Package huxtable version 3.0.0 Index]