setupSimon {OneArmPhaseTwoStudy} | R Documentation |
Creates a "simon"-object which can be used in the function getSolutions
to identify possible designs.
setupSimon(alpha = 0.05, beta = 0.05, p0 = 0.1, p1 = 0.3)
alpha |
the maximal type I error rate. |
beta |
the maximal type II error rate. |
p0 |
the response probability under the null hypothesis. |
p1 |
the response probability under the alternative hypothesis. |
#Create a "simon"-object simon <- setupSimon() #Calculate designs for the given "simon"-object. designs <- getSolutions(simon)$Solutions designs