setupOneStageBasket {baskexact} | R Documentation |
Creates an object of class OneStageBasket
.
setupOneStageBasket(k, shape1 = 1, shape2 = 1, theta0)
k |
The number of baskets. |
shape1 |
First common shape parameter of the beta prior. |
shape2 |
Second common shape parameter of the beta prior. |
theta0 |
A common probability under the null hypothesis. |
A OneStageBasket
object contains the most important
design features of a basket trial. Currently only common prior distributions
and a common null hypothesis are supported.
An S4 object of class OneStageBasket
.
design <- setupOneStageBasket(k = 3, theta0 = 0.2)