powered by
Creates an object of class TwoStageBasket.
TwoStageBasket
setupTwoStageBasket(k, shape1 = 1, shape2 = 1, p0)
An S4 object of class TwoStageBasket.
The number of baskets.
First common shape parameter of the beta prior.
Second common shape parameter of the beta prior.
A common probability under the null hypothesis.
A TwoStageBasket object contains the most important design features of a basket trial. Currently only common prior distributions and a common null hypothesis are supported.
design <- setupTwoStageBasket(k = 3, p0 = 0.2)
Run the code above in your browser using DataLab