Conversion of R Regression Output to LaTeX or HTML Tables.
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.
Details on texreg can be found in the following article:
Leifeld, Philip (2013): texreg: Conversion of Statistical Model Output in R to LaTeX and HTML Tables. Journal of Statistical Software 55(8): 1-24. doi:10.18637/jss.v055.i08
An updated version of this paper is included as a package vignette. Additional details on how to write custom extensions for texreg and manipulate texreg objects can be found in the following answers on StackOverflow: [1], [2], [3], [4], [5].
The last stable release can be installed from CRAN:
install.packages("texreg")
To install the latest development version from GitHub, use the remotes
package:
remotes::install_github("leifeld/texreg")
Please feel free to report bugs or suggested enhancements using the issue tracker and propose solutions for known bugs using a pull request. Please observe and follow the code formatting in the texreg package when doing so, and add (or update) testthat
unit tests to your pull requests if possible.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.