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.10
Depends: formatters (≥ 0.5.9), 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.6), knitr (≥ 1.42), officer (≥ 0.6.6), 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-09-20
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

Documentation:

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

Downloads:

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

Reverse dependencies:

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

Linking:

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