Description Usage Arguments Value Examples
View source: R/latex_captions.R
Add a caption to a stargazer::stargazer()
output.
1 | latex_add_caption(string, caption, to_bottom = TRUE)
|
string |
An atomic character produced by |
caption |
An atomic character to be added as the caption. |
to_bottom |
Boolean, should the caption moved to the bottom? |
string
with an added caption
1 2 3 | df <- data.frame(a = rnorm(5), b = rnorm(5))
sg <- stargazer::stargazer(df)
latex_add_caption(sg, "This is going to be the caption")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.