Description Usage Arguments Value
This function formats objects created by mtable
for inclusion
into LaTeX files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | mtable_format_latex(x,
useDcolumn=TRUE,
colspec=if(useDcolumn)
paste("D{.}{",LaTeXdec,"}{",ddigits,"}",sep="")
else "r",
LaTeXdec=".",
ddigits=min(3,getOption("digits")),
useBooktabs=TRUE,
toprule=if(useBooktabs) "\\toprule" else "\\hline\\hline",
midrule=if(useBooktabs) "\\midrule" else "\\hline",
cmidrule=if(useBooktabs) "\\cmidrule" else "\\cline",
bottomrule=if(useBooktabs) "\\bottomrule" else "\\hline\\hline",
interaction.sep = " $\\times$ ",
sdigits=min(1,ddigits),
force.names = FALSE,
compact=FALSE,
sumry.multicol=FALSE,
...
)
|
x |
an object of class |
useDcolumn |
should the |
colspec |
LaTeX table column format specifyer(s). |
LaTeXdec |
the decimal point in the final LaTeX output. |
ddigits |
alignment specification or digits after the decimal point. |
useBooktabs |
should the |
toprule |
appearance of the top border of the LaTeX |
midrule |
how are coefficients and summary statistics
separated in the LaTeX |
cmidrule |
appearance of rules under section headings. |
bottomrule |
appearance of the bottom border of the LaTeX |
interaction.sep |
a character string that separates factors that are involved in an interaction effect |
sdigits |
integer; number of digits after decimal dot for summary statistics. |
force.names |
logical; should model names be shown even if estimates of only one model are displayed? |
compact |
logical; should the table be compact, without extra columns between multi-equation models? |
sumry.multicol |
logical, should summaries enclosed into
|
... |
further arguments, ignored. |
A character string with code suitable for inclusion into a LaTeX-file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.