getCE {OneArmPhaseTwoStudy} | R Documentation |
Calculates the conditional error at the interim analysis for a given Simon's design with "k" responses.
getCE(design, k)
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. |
design <- getSolutions()$Solutions[1,] conditional_error <- getCE(design, 4)