print_3ptable: print_3ptable

Description Usage Arguments Value Examples

View source: R/print_3ptable.R

Description

print xtable objekts with table notes using threeparttable

Usage

1

Arguments

notes

explanation of the table footnotes, see example

...

everything you would give to print.xtable

Value

a well formated Latex-table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
## Not run: 
notes <- paste('\\begin{tablenotes}',
               '\\item [1] Effect estimator $\\beta$',
               '\\item [2] P value',
               '\\end{tablenotes}',
               sep = '\n')
               
print_3ptable(notes = notes, xtable(data2, caption = "Regression Coefficients",
                                    label = "tab:3", digits = c(0, 4, 4, 2, 2),
                                    display = c('s', 'f','f','f','e'), ),
              include.rownames = TRUE)
              
## End(Not run)
              

imbs-hl/imbs documentation built on Sept. 6, 2019, 11:05 p.m.