Learn R Programming

texreg (version 1.25)

texreg-package: Conversion of statistical model output in Rto LaTeX and HTML tables

Description

texreg converts coefficients, standard errors, significance stars, and goodness-of-fit statistics of statistical models into LaTeX tables or HTML tables/MS Word documents or to nicely formatted screen output for the R console for easy model comparison. A list of several models can be combined in a single table. The output is highly customizable. New model types can be easily implemented.

Arguments

Details

Several packages like apsrtable, memisc, outreg, stargazer, or xtable are available for typesetting R regression output as LaTeX tables. However, they cannot process certain model types (like ergm or mer objects), and some of these packages do not support multiple models within one single table. The texreg package, in contrast, accepts single models or lists of several models, and it can handle many different model types, including options for creating custom extensions for one's own model types. If several models are submitted, they are merged by row labels of the coefficients, and they are inserted into the final table as separate columns. Beside LaTeX output, texreg can also print nicely formatted regression tables to the R console screen or as HTML code. Nicely formatted tables can also be saved as MS Word documents. The package works with report generation tools like Sweave or knitr (including options for LaTeX, HTML, and Markdown). To display citation information, execute citation("texreg").

See Also

texreg