Getting started with rpact

Friedrich Pahlke and Gernot Wassmer


Confirmatory Adaptive Clinical Trial Design, Simulation, and Analysis.

Functional Range

Learn to use rpact

We recommend three ways to learn how to use rpact:

  1. Use the Shiny app:
  2. Use the Vignettes:
  3. Book a training:


The vignettes are hosted at and cover the following topics:

  1. Defining group-sequential boundaries
  2. Designing group-sequential trials with two groups and a continuous endpoint
  3. Designing group-sequential trials with a binary endpoint
  4. Designing group-sequential trials with two groups and a survival endpoint
  5. Simulation-based design of group-sequential trials with a survival endpoint
  6. An example to illustrate boundary re-calculations during the trial
  7. Analysis of a group-sequential trial with a survival endpoint
  8. Defining accrual time and accrual intensity
  9. How to use R generics with rpact
  10. How to create admirable plots with rpact
  11. Comparing sample size and power calculation results for a group-sequential trial with a survival endpoint: rpact vs. gsDesign
  12. Supplementing and enhancing rpact’s graphical capabilities with ggplot2
  13. Using the inverse normal combination test for analyzing a trial with continuous endpoint and potential sample size reassessment
  14. Planning a trial with binary endpoints
  15. Planning a survival trial
  16. Simulation of a trial with a binary endpoint and unblinded sample size re-calculation
  17. How to create summaries
  18. How to create analysis result (one- and multi-arm) plots
  19. How to create simulation result (one- and multi-arm) plots
  20. Simulating multi-arm designs with a continuous endpoint
  21. Analysis of a multi-arm design with a binary endpoint
  22. Step-by-Step rpact Tutorial
  23. Planning and Analyzing a Group-Sequential Multi-Arm-Multi-Stage Design with Binary Endpoint using rpact
  24. Two-arm analysis for continuous data with covariates from raw data (exclusive)
  25. How to install the latest developer version (exclusive)

User Concept


Focus on Usability

The most important rpact functions have intuitive names:

RStudio/Eclipse: auto code completion makes it easy to use these functions.

R generics

In general, everything runs with the R standard functions which are always present in R: so-called R generics, e.g., print, summary, plot,, names, length


Several utility functions are available, e.g.


Please contact us to learn how to use rpact on FDA/GxP-compliant validated corporate computer systems and how to get a copy of the formal validation documentation that is customized and licensed for exclusive use by your company, e.g., to fulfill regulatory requirements.


For more information please visit

For more information please visit


  1. The rpact validation documentation is available exclusively for our customers and supporting companies. For more information visit↩︎