splitLines4Table: A helper function for html/LaTeX line formatting

Description Usage Arguments Value Examples

View source: R/htmlTable.R

Description

This function helps you to do a multiline table header in both html and in LaTeX. In html this isn't that tricky, you just use the <br /> command but in LaTeX I often find myself writing vbox/hbox stuff and therefore I've created this simple helper function

Usage

1

Arguments

...

The lines that you want to be joined

html

If it's suppose to be in html or LaTeX. Default is LaTeX.

Value

string

Examples

1
2
3
splitLines4Table("hello", "world")
splitLines4Table("hello", "world", html=TRUE)
splitLines4Table("hello", "world", list("A list", "is OK"))

raredd/Gmisc0 documentation built on May 27, 2019, 2:02 a.m.