setupTwoStageBasket | R Documentation |
Creates an object of class TwoStageBasket
.
setupTwoStageBasket(k, shape1 = 1, shape2 = 1, p0)
k |
The number of baskets. |
shape1 |
First common shape parameter of the beta prior. |
shape2 |
Second common shape parameter of the beta prior. |
p0 |
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.
An S4 object of class TwoStageBasket
.
design <- setupTwoStageBasket(k = 3, p0 = 0.2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.