Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textablr

LaTeX Regression and Summary Table Output from R

  • This package draws inspiration from estout for Stata and stargazer for R.

  • Tables produced are tex fragments meant to work with the threeparttable method described here http://www.jwe.cc/2012/03/stata-latex-tables-estout/

  • Workhorse output functions:

    • textablr_estout() to produce regression tables
    • textablr_means() to produce means and difference tables for summary stats

Installation

To install the latest version from github:

install.packages("devtools")
devtools::install_github("jamesfeigenbaum/textablr")

You will probably also need to install gt which is not on CRAN yet. All other dependencies are.

remotes::install_github("rstudio/gt")

Regression Package Support

  • lm
  • glm
  • lfe (felm function)
  • Probably everything else that broom can handle.

Summary Tables

  • Two basic types of column:
    1. Means and SDs of various variables either overall or within a subgroup.
    2. Differences and SEs between means of variables between two specificed subgroups.

To Do

  • rdrobust

Resources

Jörg Weber's Three Part Explanation of estout and LaTeX tables

  1. Automated Table generation in Stata and integration into LaTeX
  2. LaTeX and Stata integration (2): Solving some problems
  3. LaTeX and Stata integration (3): Improving the Design

About

R Package to Output Regression Tables

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages