# \donttest{
sim.trial.2(median.c=12,hr=c(1,1,1,0.6),K=2,L=c(1/4,1/2,1),lfu=0,alpha=0.05,
power=0.9,accrate=15,theta=log(1.25),bio.preva=c(0.4,0.6),
FAtime.phase3=48,eta=0.2,futility=0.1,superiority=0.9,
N.iter=3)
# }
Run the code above in your browser using DataLab