Create a two_stage_curtail_trial Case 4a: User inputs p, n_total, prob_early
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## S4 method for signature
## 'numeric,
## numeric,
## numeric,
## numeric,
## missing,
## missing,
## numeric,
## missing,
## missing,
## numeric,
## missing'
two_stage_curtail_trial(p1_null,
p2_null, p1_alt, p2_alt, n_total, prob_early, alpha)
|
1 2 | 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.1, alpha=0.1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.