latex_caption_to_bottom: Move the caption to the bottom of the table produced by...

Description Usage Arguments Value Examples

View source: R/latex_captions.R

Description

Credit to https://stackoverflow.com/a/42681368

Usage

1
latex_caption_to_bottom(string, to_console = FALSE)

Arguments

string

An atomic character produced by stargazer::stargazer().

to_console

Boolean, should the output be returned, or cat() to the console (and invisibly returned)?

Value

string with the caption moved to the bottom.

Examples

1
2
3
df <- data.frame(a = rnorm(5), b = rnorm(5))
sg <- stargazer::stargazer(df)
latex_caption_to_bottom(sg)

thorepet/thoremisc documentation built on Oct. 8, 2021, 7:48 a.m.