With the gt package, anyone can make wonderful-looking tables using the R programming language. The gt philosophy: we can construct a wide variety of useful tables with a cohesive set of table parts. These include the table header, the stub, the column labels and spanner column labels, the table body, and the table footer. It all begins with table data (be it a tibble or a data frame). You then decide how to compose your gt table with the elements and formatting you need for the task at hand. Finally, the table is rendered by printing it at the console, including it in an R Markdown document, or exporting it to a file using gtsave(). Currently, gt supports the HTML, LaTeX, and RTF output formats.
Features
- Easily generate information-rich, publication-quality tables from R
- The gt package is designed to be both straightforward yet powerful
- All of this tabular data is great for experimenting with gt’s functions and we make extensive use of these datasets in our documentation
- Examples and documentation
- Make wonderful-looking tables using the R programming language
- gt is licensed under the MIT license