latex.cmidr: Create a latex string to draw a horizontal line across the...

View source: R/latex.R

latex.cmidrR Documentation

Create a latex string to draw a horizontal line across the columns specified

Description

Create a latex string to draw a horizontal line across the columns specified

Usage

latex.cmidr(cols, trim = "r")

Arguments

cols

A string representing the columns to span e.g. "1-5"

trim

Tells latex to trim the line a bit so that if there are two lines close together they don't touch in the middle (See booktabs package). Can be "l" for left, "r" for right, or "lr" for both sides of line

Value

A latex string to draw a horizontal line across the columns specified

Examples

latex.cmidr("1-5", "lr")

pbs-assess/gfutilities documentation built on Sept. 18, 2023, 7:57 a.m.