power.twosampt # show the power.cox function
res=fdr.sampsize(fdr=0.1,
ave.pow=0.8,
pow.func=power.twosampt,
eff.size=rep(c(1,0),c(10,990)),
null.effect=0)
res
Run the code above in your browser using DataLab