print_table | R Documentation |
A publication friendly version of knitr::kable()
. It automatically detect
if the output is HTML or PDF and adapt the formatting, allowing for latex
formulas, large table, etc in PDF outputs. Allows using \
print_table(data, caption = "", allow_math = FALSE, ...)
data |
A data frame |
caption |
A caption to be displayed in the table. |
allow_math |
Whether to allow latex math by disabling special character escape. |
... |
Other arguments passed to |
An rmarkdown::render()
ready table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.