Created by Thibaut Lamadon and Bradley Setzler
Thetextab package produces highly-customized LaTeXtables in R.
There are only three functions in this package:
TexRow: Form a row in a LaTeX tabular environment.TexSave: Save the tabular as a .tex file, andoptionally compile it as a PDF.TexMidrule: Insert a midrule, or list of partialmidrules, between rows in a LaTeX tabular environment.This package builds LaTeX tables in blocks, in the spirit ofggplot2, using the+ and/operators for concatenation.
+): Stack rows vertically (forming multiplerows)./): Combine rows side-by-side (forming awider row).To install the package from CRAN:
install.packages("textab")To install the package from Github:
devtools::install_github("setzler/textab")To use the package after it is installed:
library(textab)To get started, read the following articles: