View source: R/data_frame_to_latex_table.R
data_frame_to_latex_table | R Documentation |
data_frame_to_latex_table
uses the xtable package.
data_frame_to_latex_table(
df,
caption = "Example caption...",
label = "tab:",
caption_location = "top",
digits = NULL
)
df |
Input data frame. |
caption |
Text for LaTeX's table caption. |
label |
Label for LaTeX's table. |
caption_location |
Where to place the table's caption. |
digits |
Number of digits to print for numeric variables. |
Invisible character vector.
Stuart K. Grange
# Format a data frame
data_frame_to_latex_table(ggplot2::mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.