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 pak:
# pak::pak("leifeld-lab/texreg")
install.packages("texreg", repos = c('https://leifeld-lab.r-universe.dev', 'https://cloud.r-project.org'))
Alternatively, you can use the remotes package:
# remotes::install_github("leifeld-lab/texreg")
install.packages("texreg", repos = c('https://leifeld-lab.r-universe.dev', 'https://cloud.r-project.org'))
Please feel free to report bugs or suggested enhancements using the issue tracker and propose solutions for known bugs using a pull request.
Guidelines for pull requests:
@author fields if you make significant changes to a function).extract method headers with those in other extract methods where possible, to ensure different models can be combined seamlessly in a single table.