tangram: The Grammar of Tables
Provides an extensible formula system to quickly and easily create
production quality tables. The processing steps are a formula parser,
statistical content generation from data as defined by formula, followed by
rendering into a table. Each step of the processing is separate and user
definable thus creating a set of composable building blocks for
highly customizable table generation. A user is not limited by any of the
choices of the package creator other than the formula grammar. For example,
one could chose to add a different S3 rendering function and output a format
not provided in the default package, or possibly one would rather have Gini
coefficients for their statistical content in a resulting table. Routines to
achieve New England Journal of Medicine style, Lancet style and
Hmisc::summaryM() statistics are provided. The package contains rendering
for HTML5, Rmarkdown and an indexing format for use in tracing and tracking
are provided.
| Version: |
0.8.3 |
| Depends: |
R (≥ 3.5.0), R6, magrittr, knitr |
| Imports: |
stringi, stringr, base64enc, digest, htmltools |
| Suggests: |
testthat, rms, rmarkdown, Hmisc, sandwich, dplyr, Matching, epitools |
| Published: |
2025-07-31 |
| DOI: |
10.32614/CRAN.package.tangram |
| Author: |
Shawn Garbett
[aut, cre],
Thomas Stewart [ctb],
Jennifer Thompson [ctb],
Frank Harrell [ctb],
Ahra Kim [ctb] |
| Maintainer: |
Shawn Garbett <Shawn.Garbett at vumc.org> |
| BugReports: |
https://github.com/spgarbet/tangram/issues |
| License: |
GPL-3 |
| URL: |
https://github.com/spgarbet/tangram |
| NeedsCompilation: |
no |
| Materials: |
README |
| CRAN checks: |
tangram results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=tangram
to link to this page.