Description Usage Arguments Value Examples
View source: R/print_3ptable.R
print xtable objekts with table notes using threeparttable
1 | print_3ptable(notes, ...)
|
notes |
explanation of the table footnotes, see example |
... |
everything you would give to print.xtable |
a well formated Latex-table
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
notes <- paste('\\begin{tablenotes}',
'\\item [1] Effect estimator $\\beta$',
'\\item [2] P value',
'\\end{tablenotes}',
sep = '\n')
print_3ptable(notes = notes, xtable(data2, caption = "Regression Coefficients",
label = "tab:3", digits = c(0, 4, 4, 2, 2),
display = c('s', 'f','f','f','e'), ),
include.rownames = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.