Huxtable is an R package for creating HTML and LaTeX tables. It provides similar functionality to xtable, but does more, with a simpler interface. Features include control over text styling, number format, background color, borders, padding and alignment. Cells can span multiple rows and/or columns. Tables can be manipulated with standard R subsetting or dplyr
functions. Huxtable includes a huxreg()
function for quick creation of regression tables, and allows output to Microsoft Word or Powerpoint using the officer
package.
Installing
To install from CRAN:
install.packages('huxtable')
To install from github:
install.packages('devtools')
devtools::install_github('hughjonesd/huxtable')
Learning more
Check out the website, read the documentation or read the vignette in HTML or PDF.