Generate an exemplary adaptive design
get_example_design.Rd
The design was optimized to minimize the expected sample size under the alternative hypothesis for a one-armed trial. The boundaries are chosen to control the type I error at 0.025 for a normally distributed test statistic (i.e. known variance). For an alternative hypothesis of mu=0.4, the overall power is 80%.
Arguments
- two_armed
(logical) determins whether the design is for one- or two-armed trials.
- label
(optional) label to be assigned to the design.