###Calculate the stopping boundary at 10-90 percent of the target 300 events
###when the condition power are c(0.2,0.3,0.4) with
###2:1 allocation ratio between the treatment group and the control group
cpboundary(pi1=2/3)
Run the code above in your browser using DataLab