###Calculate the CP at 10-90 percent of the target 300 events when the observed HR
###are seq(1,0.6,by=-0.01) with 2:1 allocation
###ratio between the treatment group and the control group
cp(pi1=2/3)
Run the code above in your browser using DataLab