R Package rpact
Open Source
R Package
Software
Clinical Trials
GxP
The comprehensive validated, open source, free-of-charge R software package for clinical trial planning, design evaluation, simulation, and analysis.
rpact is a comprehensive validated, open source, free-of-charge R software package for:
- clinical trial planning
- clinical trial design evaluation and simulation
- clinical trial data analysis
Functional Range
- Fixed sample design and designs with interim analysis stages
- Sample size and power calculation for
- means (continuous endpoint)
- rates (binary endpoint)
- survival trials with flexible recruitment and survival time options
- count data
- Simulation tool for means, rates, survival data, and count data
- Assessment of adaptive sample size/event number recalculations based on conditional power
- Assessment of treatment selection strategies in multi-arm trials
- Adaptive analysis of means, rates, and survival data
- Adaptive designs and analysis for multi-arm trials
- Adaptive analysis and simulation tools for enrichment design testing means, rates, and hazard ratios
- Automatic boundary recalculations during the trial for analysis with alpha spending approach, including under- and over-running
More high quality graphics produced by rpact can be found in the gallery.
Installation
Install the latest CRAN release via
install.packages("rpact")
Development version
To use a feature from the development version, you can install the development version of rpact from GitHub.
# install.packages("pak")
::pak("rpact-com/rpact") pak
Documentation
The documentation is hosted at rpact.org
Vignettes
The vignettes are hosted at rpact.org/vignettes