Reporting Tables
Add the column population counts to the header
Add a combination facet in post-processing
Add an already calculated table to the layout
Add overall column
Add overall or combination levels to split groups
Additional parameters within analysis and content functions (afun
/`c...
Generate rows analyzing different variables across columns
Generate rows analyzing variables across columns
Append a description to the 'top-left' materials for the layout
Convert an rtable
object to a shiny.tag
HTML object
Convert to a vector
Define a subset tabulation/analysis
Layout with 1 column and zero rows
Retrieve and assign elements of a TableTree
Create a table from a layout and data
Column-bind two TableTree
objects
Retrieve cell values by row and column path
Constructor for Cell Value
Instantiated column info
Clear all indent modifiers from a table
Column information/structure accessors
Value and Visibility of specific column counts by path
Collect leaves of a TableTree
Display column tree structure
Compare two rtables
Compatibility argument conventions
Constructor argument conventions
Retrieve or set content table from a TableTree
Analysis function to count levels of a factor with percentage of the c...
Custom split functions
Splits for cutting by values of a numeric variable
Generate a result data frame
Create an ElementaryTable
from a data.frame
Table dimensions
Apply basic split (for use in custom split functions)
Pre-processing function for use in make_split_fun
Empty table, column, split objects
Get or set column count for a facet in column space
Set visibility of column counts for a group of sibling facets
Find degenerate (sub)structures within a table
Format rcell
objects
Methods for generics in the formatters
package
General argument conventions
Get formatted cells
Head and tail methods
Access or recursively set header-body separator for tables
Create multiple rows in analysis or summary functions
Indent strings
Change indentation of all rrows
in an rtable
Insert row at path
Insert rrow
s at (before) a specific location
Combine SplitVector
objects
Check if an object is a valid rtable
Label at path
Length of a Cell value
Returns a function that coerces the return values of a function to a l...
Layouting function argument conventions
Create a custom analysis function wrapping an existing function
Column layout summary
Get a list of table row/column paths
Create a custom splitting function
Construct split result object
Manual column declaration
Manually defined split
Transform an rtable
to a list of matrices which can be used for outp...
Split between two or more different variables
Names of a TableTree
Exported for use in tern
Pagination of a TableTree
Recursively prune a TableTree
Generalized frequency table
Row-bind TableTree
and related objects
Cell value constructors
Objects exported from other packages
Referential footnote accessors
Create a header
Set all column counts at all levels of nesting to NA
Row attribute accessors
Print row/column paths summary
Row classes and constructors
Create an rtable
row
Create an rtable
row from a vector or list of values
Create a table
rtables: Reporting Tables
Default tabulation
Sanitize degenerate table structures
Score functions for sorting TableTrees
Section dividers accessor and setter
Split function argument conventions
Sorting a table at a specific path
Translate spl_context to a path to display in error messages
.spl_context within analysis and split functions
Variable associated with a split
Associate multiple variables with columns
Declaring a column-split based on levels of a variable
Split functions
Associate multiple variables with rows
Add rows according to levels of a variable
Add a content row of summary counts
TableTree
classes
Table shells
Summarize table
Top left material
Convert an rtable
object to a string
Retrieve or set the direct children of a tree-style object
Trim levels of another variable from each facet (post-processing split...
Trim levels to map
Trimming and pruning criteria
Trim rows from a populated table without regard for table structure
Create enriched flat value table with paths
Access or set table elements at specified path
Update footnote indices on a built table
Validate and assert valid table structure
Value formats
Split on static or dynamic cuts of the data
Split on levels within a variable
Display an rtable
object in the Viewer pane in RStudio or in a brows...
List variables required by a pre-data table layout
Reporting tables often have structure that goes beyond simple rectangular data. The 'rtables' package provides a framework for declaring complex multi-level tabulations and then applying them to data. This framework models both tabulation and the resulting tables as hierarchical, tree-like objects which support sibling sub-tables, arbitrary splitting or grouping of data in row and column dimensions, cells containing multiple values, and the concept of contextual summary computations. A convenient pipe-able interface is provided for declaring table layouts and the corresponding computations, and then applying them to data.
Useful links