# nsim reduced for faster example
o1a <- power.DPP(pt=0.65, nt=60, pc=0.45, nc=30, pc.calib=0.45,
pch=0.45, nche=60, nch=200, alpha=0.1, nsim=1000)
o1b <- power.DPP(pt=0.65, nt=60, pc=0.45, nc=30, pc.calib=0.45,
pch=0.45, nche=30, nch=200, alpha=0.1, nsim=1000)
# Plot a single object
stats1 <- plotPMD(o=o1a)
# Plot two objects for comparison
stats2 <- plotPMD(o=o1a, o2=o1b)
Run the code above in your browser using DataLab