View source: R/MakeAndSaveXtable.R
This function inputs table data and saves to .tex file as xtable.
1 2 3 | make.and.save.xtable(table_data, file_name,
caption = "Table of Estimates.", label = "analysis_table",
star_substring = NULL, table_notes = NULL, ...)
|
file_name |
String. File name. No default. |
caption |
String. Caption for table. Defaults to "Table of estimates". |
label |
String. Latex label. Defaults to "analysis_table". |
star_substring |
Character vector. The substrings of xtable to be commented under the table. Defaults to NULL. |
table_notes |
String. Note to be put under table. Not dynamic, only one note allowed. If star_substring is NULL, a caption is placed under the table. Otherwise, the comment is placed as a footnote. Passed to formatting.xtable. Defaults to NULL. |
table_data. |
Data frame. No default. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.