pixiedust (version 0.8.6)

medley_all_borders: Apply Cell Borders to All Cells in a Region

Description

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.

Usage

medley_all_borders(x, rows = NULL, cols = NULL, horizontal = TRUE,
  vertical = TRUE, part = "body")

Arguments

x

An object of class dust

rows

The rows over which the borders are to be drawn.

cols

The cols over which the borders are to be drawn.

horizontal

Logical. Toggles horizontal borders.

vertical

Logical. Toggles vertical borders

part

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.