Description Usage Arguments Examples
View source: R/two-stage-design.R
Identifies the optimal design from a trial object containing many candidate designs for a given total sample size
1 |
x |
a two-stage curtailed trial object |
1 2 3 | trials <- two_stage_curtail_trial(p1_null = 0.8, p2_null=0.2,
p1_alt = 0.8, p2_alt = 0.4, n_total=36, prob_early=0.2, alpha=0.05)
optimal_design(trials)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.