https://github.com/leifeld/texreg
Conversion of R Regression Output to LaTeX or HTML Tables
https://github.com/leifeld/texreg
html-tables latex latex-tables regression reporting table texreg
Last synced: 3 months ago
JSON representation
Conversion of R Regression Output to LaTeX or HTML Tables
- Host: GitHub
- URL: https://github.com/leifeld/texreg
- Owner: leifeld
- Created: 2016-12-02T16:35:10.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T19:16:59.000Z (6 months ago)
- Last Synced: 2025-04-01T00:34:05.744Z (4 months ago)
- Topics: html-tables, latex, latex-tables, regression, reporting, table, texreg
- Language: R
- Homepage:
- Size: 3.37 MB
- Stars: 113
- Watchers: 3
- Forks: 42
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# texreg
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](https://cran.r-project.org/web/packages/texreg/vignettes/texreg.pdf). Additional details on how to write custom extensions for **texreg** and manipulate **texreg** objects can be found in the following answers on StackOverflow: [[1]](http://stackoverflow.com/questions/38894044/print-beautiful-tables-for-h2o-models-in-r/39135080#39135080), [[2]](http://stackoverflow.com/questions/39397194/computing-p-values-in-spatial-econometric-models-why-are-there-inconsistencies/39479191#39479191), [[3]](http://stackoverflow.com/questions/36947477/how-can-i-use-texreg-1-36-4-for-a-relogit-model-estimated-using-zelig-v-5/36968738#36968738), [[4]](http://stackoverflow.com/questions/39143747/how-to-use-texreg-after-clmm-i-want-to-extract-random-effect-components/39507751#39507751), [[5]](http://stackoverflow.com/questions/40176607/r-how-to-get-a-proper-latex-regression-table-from-a-dataframe/40197961#40197961).
## Installation
The last stable release can be installed from CRAN:
``` r
install.packages("texreg")
```
To install the latest development version from GitHub, use the `remotes` package:
``` r
remotes::install_github("leifeld/texreg")
```## Contribute to the project
Please feel free to report bugs or suggested enhancements using the [issue tracker](http://github.com/leifeld/texreg/issues) 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.
[](https://github.com/leifeld/texreg/actions/workflows/CRAN%20check%20and%20test.yaml)
[](https://cran.r-project.org/package=texreg)
[](http://cranlogs.r-pkg.org/badges/texreg)
[](http://cranlogs.r-pkg.org/badges/grand-total/texreg)
[](http://depsy.org/package/r/texreg)
[](https://codecov.io/github/leifeld/texreg?branch=master)