txtMergeLines {htmlTable} | R Documentation |
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
txtMergeLines(..., html = 5)
... |
The lines that you want to be joined |
html |
If HTML compatible output should be used. If |
string
Other text formatters: txtPval
,
txtRound
txtMergeLines("hello", "world") txtMergeLines("hello", "world", html=FALSE) txtMergeLines("hello", "world", list("A list", "is OK"))