add_endnote: Add Endnote

Description Usage Arguments Examples

View source: R/table_prep.R

Description

Improvement to footnotes from stargazer function. Results vary with output from kable, although the kable endnotes by default tend to be better formatted. Used with capture.output(). When using, notes made with the original function should not be used.

Usage

1
add_endnote(table, note, size_in_inches = 6, rm.stargazer.stars = TRUE)

Arguments

note

Endnote you want to add to the bottom of the table

size_in_inches

How many inches long the endnote should be

rm.stargazer.stars

TRUE/FALSE. Whether to remove the default stargazer Note: that includes the starvalues.

Examples

1
2
3
my_table_rough <- capture.output(stargazer(mtcars))
my_table <- add_endnote(table = my_table_rough, note = "my endnote is very long", size_in_inches = 6, rm.stargazer.stars = TRUE)
print_table(table)

johnhenrypezzuto/blpl documentation built on Dec. 6, 2019, 2:36 a.m.