Introduction
The TexTable package provides an easy way for Julia users to quickly build well-formatted and publication-ready ASCII and LaTeX tables from a variety of different data structures. It allows the user to easily build complex tables from small, modular components in an object oriented fashion, as well as providing some methods for easily constructing common tables from regression output.
TexTables.jl is designed for building all sorts of statistical tables in a very modular fashion and for quickly displaying them in the REPL or exporting them to LaTeX. It’s quite extensible, and probably the most important use cases will be for people who want to make their own custom tables, but it has implemented support for some basic regression tables, cross-tabulations, and summary statistics as proof-of-concept.
Features
Currently TexTables will allow you to:
- Build multi-indexed tables programmatically with a simple to use interface that allows for row and column groupings.
- Print them in the REPL as ASCII tables, or export them to LaTeX for easy inclusion
It also provides constructors and methods to
- Quickly construct regression tables from estimated models that adhere to the
LinearModel
API.- Add customized model metadata (such as the type of estimator used, etc...)
- Group regression columns into subgroups using multicolumn headings
- Add significance stars to coefficient estimates.
- Use robust standard errors from CovarianceMatrices.jl or other packages.
- Construct several standard tables that may be useful in exploratory data analysis
- Summary tables
- Grouped summary tables.
- One-way frequency tables.
Installation
TexTables is not yet registered, so it can be installed with the command
Pkg.add("TexTables")