View source: R/df2tex_xtable.R
df2tex_xtable | R Documentation |
Create latex code for a table from a data.frame
.
df2tex_xtable(
df,
caption = "",
san = TRUE,
label = NULL,
note = NULL,
note_width = 14
)
df |
A |
caption |
A single character, containing the table caption. |
san |
Should all characters be sanitized. |
label |
A single character, containing the table label (only for referencing in the |
note |
A single character, containing the table notes. |
note_width |
A single numeric, containing the table note width. |
Prints the resulting latex code to console
Returns NULL
.
df2tex_xtable(mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.