Other packages > Find by keyword >

tangram  

The Grammar of Tables
View on CRAN: Click here


Download and install tangram package within the R console
Install from CRAN:
install.packages("tangram")

Install from Github:
library("remotes")
install_github("cran/tangram")

Install by package version:
library("remotes")
install_version("tangram", "0.8.3")



Attach the package and use:
library("tangram")
Maintained by
Shawn Garbett
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-05-03
Latest Update: 2025-07-31
Description:
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.
How to cite:
Shawn Garbett (2017). tangram: The Grammar of Tables. R package version 0.8.3, https://cran.r-project.org/web/packages/tangram. Accessed 25 Jun. 2026.
Previous versions and publish date:
0.2.6 (2017-05-03 18:21), 0.3.2 (2017-10-02 23:03), 0.3 (2017-06-27 23:22), 0.4 (2018-06-04 23:45), 0.7.1 (2020-04-29 12:40), 0.8.1 (2022-08-19 19:20), 0.8.2 (2023-01-26 11:20)
Other packages that cited tangram R package
View tangram citation profile
Other R packages that tangram depends, imports, suggests or enhances
Complete documentation for tangram
Functions, R codes and Examples using the tangram R package
Some associated functions: ASTBranch . ASTFunction . ASTMultiply . ASTNode . ASTPlus . ASTTableFormula . ASTVariable . Parser . Token . add_footnote . add_indent . args_flatten . as.categorical . cbind.tangram . cell . cell_header . cell_label . cell_n . cell_subheader . cell_transform . csv . custom_css . del_col . del_row . derive_label . drop_statistics . format_guess . hmisc . hmisc_cell . hmisc_data_type . hmisc_intercept_cleanup . html5.cell . html5.cell_header . html5.cell_label . html5.cell_n . html5.cell_subheader . html5.character . html5.default . html5.logical . html5 . html5.tangram . index.cell_label . index.default . index.list . index . index.tangram . insert_column . insert_row . is.binomial . is.categorical . key . lancet . lancet_cell . lancet_fraction . lancet_mean_sd . latex . latex_template . latexify . nejm . nejm_cell . nejm_fraction . nejm_iqr . nejm_range . pbc . pipe.tangram . plus-.tangram . print . proc_tab . rbind.tangram . render_f . render_route_tangram . replace_cell . rmd . rowscols . rtf.cell . rtf.cell_chi2 . rtf.cell_fstat . rtf.cell_header . rtf.cell_iqr . rtf.cell_label . rtf.cell_n . rtf.cell_subheader . rtf.default . rtf . rtf.tangram . select_col . select_row . smd . smd_cell . smd_compare . smd_contingency . smd_dist . smd_fraction . smd_meansd . standard_difference . summarize_nejm_horz . summarize_nejm_vert . summary . table_builder . table_flatten . tangram . 
Some associated R codes: cell-hmisc.R . cell-lancet.R . cell-nejm.R . compile-cell.R . compile-clmm2.R . compile-operators.R . compile-post.R . compile-rms.R . compile-typing.R . compile.R . helper-format.R . hmisc-biVar.R . hmisc-cut2.R . hmisc-impute.R . hmisc-lm.fit.qr.bare.R . iify.R . parser.R . render-csv.R . render-html5.R . render-index.R . render-latex-map.R . render-latex.R . render-rmd.R . render-rtf.R . render-summary.R . smd.R . transform-hmisc.R . transform-lancet.R . transform-nejm.R . transform-proc-tab.R . transform-smd.R .  Full tangram package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA