Description Usage Arguments Details References See Also Examples
Calculates the number of patients which should be enrolled in the
second stage if the conditional power should be altert to "cp". It's a version
of getN2
.
1 |
cp |
conditional power to which the number of patients for the second stage should be adjusted. |
p1 |
response probability under the alternative hypothesis. |
design |
a dataframe containing all critical values for a Simon's two-stage design defined by the colums r1, n1, r, n and p0.
|
k |
number of responses observed at the interim analysis. |
mode |
a value out of 0,1,2,3 dedicating the methode spending the "rest alpha" (difference between nominal alpha level and actual alpha level for the given design).
|
alpha |
overall significance level the trial was planned for. |
This functon is the same as getN2
(OneArmPhaseTwoStudy
package), with some changes in arguments' validation.
It's is a helper to
SimulateSimonDsgnAdaptN
.
Englert S., Kieser M. Adaptive designs for single-arm phase II trials in oncology. Pharm Stat, 2012, 11, 241-249.
getN2
, SimulateSimonDsgnAdaptN
.
1 2 3 | designParam <- CalculateSimonDsgn(0.2, 0.4, 0.05, 0.1)
dsgn <- designParam[designParam$Type == "Optimal",]
getN2v2(0.9, dsgn$p1, dsgn, 7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.