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.
Documentation
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](http://dx.doi.org/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].
Installation
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")Alternatively, you can use the remotes package:
remotes::install_github("leifeld-lab/texreg")Contribute to the project
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: - Please observe and follow the code formatting in the texreg package. - Add (or update) testthat unit tests to your pull requests if possible. - Add (or update) roxygen2 documentation if necessary (including @author fields if you make significant changes to a function). - Do not add unnecessary dependencies. Where possible, use base R. - Align argument names in extract method headers with those in other extract methods where possible, to ensure different models can be combined seamlessly in a single table.