The adoptr package provides functionality to explore custom optimal two-stage designs for one- or two-arm superiority tests. Currently, only (asymptotically) normal test statistics are supported. For more details on the theoretical background see <doi:10.1002/sim.8291>. adoptr makes heavy use of the S4 class system. A good place to start learning about it can be found here.
For a sample workflow and a quick demo of the capabilities, see here.
A variety of examples is presented in the validation report hosted here.
adoptr currently supports TwoStageDesign
,
GroupSequentialDesign
, and OneStageDesign
.
Currently, the only implemented data distribution is Normal
(one or two arms).
Both ContinuousPrior
and PointMassPrior
are
supported for the single parameter of a DataDistribution
.
See Scores
for information on the basic system of representing
scores.
Available scores are ConditionalPower
,
ConditionalSampleSize
, Power
, and
ExpectedSampleSize
..