The Grammar of Tables
Add a footnote to a table
Add indentations to left column row headers
Flatten variable arguments
Convert data type to a factor if it's not already
A left/right branch in an Abstract Syntrax Tree. This inherits from AS...
A specified function call as an ASTNode
The multiplication of two terms, as an ASTNode.
A Node in an Abstract Syntax Tree (AST)
The addition of two terms, in an ASTNode.
The root ASTNode of a formula.
A Variable in an Abstract Syntax Tree (AST)
A cbind for generated table tangram objects.
Construct a table cell from an object
Create a cell_header object of the given text.
Create an cell_label (S3) object of the given text.
Create an cell_n (S3) object of the given statistic
Create a cell_subheader object of the given text.
Create a function to transform all cells of a table
Generate an csv from a tangram or cell object
Return a CSS file as a string
Delete given column(s) from a table
Delete a row(s) from a table
Derive label of AST node.
Drop all statistics columns from a table.
Guess the best format for a given set of numerical data
Style Bundle for Hmisc defaults
Cell Generation functions for hmisc default
Determine data type of a vector loosely consistent with Hmisc.
Cleanup an intercept only model
Convert an abstract cell object into an HTML5 string
Convert an abstract cell_header object into an HTML5 string
Convert a cell_label object into an HTML5 string
Convert an abstract cell_n object into an HTML5 string
Convert an abstract cell_subheader object into an HTML5 string
Default conversion to HTML5 for a character cell
Default conversion to HTML5 for an abstract table element
Default conversion to HTML5 for a logical cell
S3 html5 Method function for use on a tangram to generate HTML5
Convert a tangram class into an HTML5 string
Generate an index from a label object
Generate an index from a cell object
Generate an index from a list object
Generate an index from a tangram or cell object
Generate an an index from a tangram object
Insert a column into a tangram table
Insert a row into a tangram table
Determine if a vector is binomial or not
Determine if a vector is categorical or not
Key derivation helper function
Style Bundle for Lancet style
Cell Generation functions for Lancet styling
Create an cell_fraction (S3) in NEJM style of the given data
Create a mean/sd cell object of the given data in Lancet style
Render to LaTeX methods for tangram cell objects
Return a LaTeX template that works with tangram
LaTeX safe string conversion
Style Bundle for Closer to NEJM style
Cell Generation functions for nejm default
Create an cell_fraction (S3) in NEJM style of the given data
Create a interquartile range cell object of the given data NEJM style
Create a NEJM style range
The parser class for generating abstract syntax trees for given table ...
Provide a "|" operator for cbind of tangram tables
Provide a "+" operator for rbind of tangram tables
Print methods for tangram objects
Tangram transform for proc_tab style summaries via a function
An rbind for generated tables tangram objects.
Format a vector of provided numeric values
Router for rendering method
Replace a cell's contents
Generate an Rmd table entry from a cell object
S3 object to return number of rows/cols in object
Given a cell class create an RTF representation.
Convert an abstract cell_chi2 object into an rtf string
Convert an abstract cell_fstat object into an RTF string
Convert an abstract cell_header object into an RTF string
Convert an abstract cell_iqr object into an RTF string
Given a cell_label class create an RTF representation.
Convert an abstract cell_n object into an RTF string
Convert an abstract cell_subheader object into an RTF string
Default conversion to RTF for an abstract table element
S3 rtf Method function for use on abstract table class
Convert a tangram into an RTF string or file
Select given column(s) from a table
Select given row(s) from a table
List of lists, should contain a "Type" entry with a function to determ...
Cell Generation functions for SMD comparisons of categorical to numeri...
Create a SMD for a categorical set of column versus a numerical row
Create a contingency table with SMD given a row column of a formula
Create an SMD distance cell
Create a fraction cell in the smd transform
Create an SMD mean and standard deviation cell
Compute the standardized mean distance between 2 groups for numerical ...
Create a summarization for a categorical set of column versus a numeri...
Create a summarization for a categorical row versus X numerical column
The default method for rendering tangram objects
A set of magrittr operators for tangram tables
Given a tangram object with embedded tables, flattens to a single tabl...
Table creation methods
A token in the formula grammar
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.