rtables: Reporting Tables

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.

Version: 0.6.9
Depends: formatters (≥ 0.5.8), magrittr (≥ 1.5), methods, R (≥ 2.10)
Imports: checkmate (≥ 2.1.0), htmltools (≥ 0.5.4), lifecycle (≥ 0.2.0), stats, stringi (≥ 1.6)
Suggests: broom (≥ 1.0.6), car (≥ 3.0-13), dplyr (≥ 1.0.5), flextable (≥ 0.9.5), knitr (≥ 1.42), officer (≥ 0.5.0), r2rtf (≥ 0.3.2), rmarkdown (≥ 2.23), survival (≥ 3.3-1), testthat (≥ 3.0.4), tibble (≥ 3.2.1), tidyr (≥ 1.1.3), withr (≥ 2.0.0), xml2 (≥ 1.1.0)
Published: 2024-06-27
DOI: 10.32614/CRAN.package.rtables
Author: Gabriel Becker [aut] (Original creator of the package), Adrian Waddell [aut], Daniel Sabanés Bové [ctb], Maximilian Mordig [ctb], Davide Garolini [ctb], Emily de la Rua [ctb], Abinaya Yogasekaram [ctb], Joe Zhu [ctb, cre], F. Hoffmann-La Roche AG [cph, fnd]
Maintainer: Joe Zhu <joe.zhu at roche.com>
BugReports: https://github.com/insightsengineering/rtables/issues
License: Apache License 2.0 | file LICENSE
URL: https://github.com/insightsengineering/rtables, https://insightsengineering.github.io/rtables/
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: rtables results


Reference manual: rtables.pdf
Vignettes: {rtables} Advanced Usage
Comparing Against Baselines or Control
Example Clinical Trials Tables
Column Counts and Formats
Customizing Appearance
Example Complex Analysis Function: Modelling Cox Regression
Exploratory Analysis
Format Precedence and NA Handling
Introduction to {rtables}
Introspecting Tables
Constructing rtables Manually
Pruning and Sorting Tables
Controlling Splitting Behavior
Subsetting and Manipulating Table Contents
Tabulation Concepts
Comparison with dplyr Tabulation
Titles, Footers, and Referential Footnotes


Package source: rtables_0.6.9.tar.gz
Windows binaries: r-devel: rtables_0.6.9.zip, r-release: rtables_0.6.9.zip, r-oldrel: rtables_0.6.9.zip
macOS binaries: r-release (arm64): rtables_0.6.9.tgz, r-oldrel (arm64): rtables_0.6.9.tgz, r-release (x86_64): rtables_0.6.9.tgz, r-oldrel (x86_64): rtables_0.6.9.tgz
Old sources: rtables archive

Reverse dependencies:

Reverse depends: tern
Reverse imports: chevron, teal.modules.clinical, teal.widgets, tern.gee, tern.mmrm
Reverse suggests: teal.modules.general, teal.reporter


Please use the canonical form https://CRAN.R-project.org/package=rtables to link to this page.