For most output, specifying a region of cells with borders
on all sides is as simple as giving the sprinkle border = "all"
.
In LaTeX output, however, this can result in thicker than expected
vertical borders. This medley provides a LaTeX save approach to
drawing borders on all sides without getting the double vertical
border effect.
medley_all_borders(
x,
rows = NULL,
cols = NULL,
horizontal = TRUE,
vertical = TRUE,
part = "body"
)
An object of class dust
The rows over which the borders are to be drawn.
The cols over which the borders are to be drawn.
Logical. Toggles horizontal borders.
Logical. Toggles vertical borders
A character vector. May contain any of "body",
"head", "interfoot", "foot", "table"
. When any element is
"table"
, the borders are drawn in all parts of the table.
Benjamin Nutter