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 26 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:11), 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

leafgl  
High-Performance 'WebGl' Rendering for Package 'leaflet'
Provides bindings to the 'Leaflet.glify' JavaScript library which extends the 'leaflet' JavaScript l ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  
clinUtils  
General Utility Functions for Analysis of Clinical Data
Utility functions to facilitate the import, the reporting and analysis of clinical data. Example ...
Download / Learn more Package Citations See dependency  
PCADSC  
Tools for Principal Component Analysis-Based Data Structure Comparisons
A suite of non-parametric, visual tools for assessing differences in data structures for two datase ...
Download / Learn more Package Citations See dependency  
RCytoGPS  
Using Cytogenetics Data in R
Defines classes and methods to process text-based cytogenetics using the CytoGPS web site, then imp ...
Download / Learn more Package Citations See dependency  
ncodeR  
Techniques for Automated Classifiers
A set of techniques that can be used to develop, validate, and implement automated classifiers. A po ...
Download / Learn more Package Citations See dependency  

28,332

R Packages

239,283

Dependencies

75,113

Author Associations

28,333

Publication Badges

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