save_tex | R Documentation |
This function takes LaTeX output from stargazer, texreg, xtable, etc. and saves it to an output file with the appropriate start and end notes.
save_tex(latex, file = NULL, landscape = FALSE)
latex |
Character. The latex output from another function. |
file |
Character. The (optional) file to save the output to. |
landscape |
Logical. Should the document be saved as a PDF? |
data("mtcars", envir = environment())
tex <- stargazer::stargazer(mtcars)
save_tex(tex)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.