rpact is a comprehensive validated, open source, free-of-charge R software package for:
We recommend three ways to learn how to use
The vignettes are hosted at www.rpact.com/vignettes
The online documentation (help files) can be opened here: www.rpact.org/documentation
Additionally there are two different pdf versions of the manual available:
# load the package library(rpact) # display the manual of the package help(package = "rpact") # create an inverse normal design with default parameters design <- getDesignInverseNormal() # take a look at the design and its default values design # create a summary ouput of the design summary(design) # display the design characteristics getDesignCharacteristics(design) # plot the design with default type 1 (Boundary Plot) plot(design) # create an 'Average Sample Size and Power / Early Stop' plot plot(design, type = 2, nMax = 12)
# create a group sequential design design <- getDesignGroupSequential(kMax = 4, alpha = 0.025, informationRates = c(0.2, 0.5, 0.8, 1), futilityBounds = rep(0.5244, 4 - 1), typeOfDesign = "WT", deltaWT = 0.45) # take a look at the design design # create a dataset of means data <- getDataset( n1 = c(22, 11, 22, 11), n2 = c(22, 13, 22, 13), means1 = c(1, 1.1, 1, 1), means2 = c(1.4, 1.5, 3, 2.5), stds1 = c(1, 2, 2, 1.3), stds2 = c(1, 2, 2, 1.3)) # display the stage results getStageResults(design = design, dataInput = data, stage = 3) # display the analysis results getAnalysisResults(design = design, dataInput = data, equalVariances = TRUE, stage = stage, nPlanned = rep(10, kMax - stage), thetaH0 = 0, thetaH1 = 1.3, allocationRatioPlanned = 2)
design <- getDesignGroupSequential()
data <- getDataset()
The most important
rpact functions have intuitive names:
In general, everything runs with the R standard functions which are always present in R: so-called R generics, e.g.,
Several utility functions are available, e.g.
testPackage(): installation qualification on a client computer or company server (via unit tests)
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 www.rpact.com/products
For more information please visit www.rpact.com/services
Please use our bug report form to submit bug descriptions and issues in a systematic way: bugreport.rpact.org
Copyright © 2021 RPACT GbR. All rights reserved.
RPACT ® is a registered trademark.