rwetools: Estimating Propensity Scores (PS), PS-Based Weights, and Effects

Toolbox that provides a streamlined, end-to-end workflow for propensity score analysis in generating real-world evidence from real-world data. The package covers the full analytic pipeline - from estimating propensity scores via logistic regression, to calculating weights or creating a matched cohort, to generating publication-ready Table 1s with standardized mean differences and weighted balance diagnostics. It also estimates incidence rates, rate differences and rate ratios, hazard ratios, risks, risk ratios, and risk differences, including competing-risk methods and optionally stratified hazard models. Many functions can write formatted 'Excel' reports with method documentation, making results immediately shareable with collaborators and stakeholders. Methods are based on Rosenbaum and Rubin (1983) <doi:10.1093/biomet/70.1.41>, Austin (2011) <doi:10.1080/00273171.2011.568786>, and Desai et al. (2017) <doi:10.1097/EDE.0000000000000595>.

Version: 0.5.0
Depends: R (≥ 3.5.0)
Imports: stats, utils, parallel, survival, survey
Suggests: openxlsx, ggplot2, MatchIt, testthat (≥ 3.0.0)
Published: 2026-09-09
DOI: 10.32614/CRAN.package.rwetools
Author: Hanseul Cho [aut, cre], Georg Hahn [aut], Janinne Ortega-Montiel [aut], Julie Paik [aut], Elisabetta Patorno [aut]
Maintainer: Hanseul Cho <hanseul0618 at gmail.com>
License: MIT + file LICENSE
URL: https://github.com/hanseul0618/rwetools
NeedsCompilation: no
Language: en-US
Materials: NEWS
CRAN checks: rwetools results

Documentation:

Reference manual: rwetools.html , rwetools.pdf

Downloads:

Package source: rwetools_0.5.0.tar.gz
Windows binaries: r-devel: rwetools_0.4.0.zip, r-release: rwetools_0.4.0.zip, r-oldrel: rwetools_0.4.0.zip
macOS binaries: r-release (arm64): rwetools_0.4.0.tgz, r-oldrel (arm64): rwetools_0.5.0.tgz, r-release (x86_64): rwetools_0.5.0.tgz, r-oldrel (x86_64): rwetools_0.5.0.tgz
Old sources: rwetools archive

Linking:

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