Plots the power over a grid of sample sizes.
plotPowerByN(V, Delta, min_Delta, alpha = 0.05, sample_size_grid,
color = "black")
The covariance matrix of mean EDTR estimators.
The vector of effect sizes with a zero indicating the best EDTR.
The minimum desired detectable effect size.
The Type I error rate for not including the true best EDTR.
A vector of sample sizes.
The color of the graph.
It employs common random variables
to reduce the variance. See computePower
for more details.