Description Usage Arguments Details
View source: R/plot-power-by-n.R
Plots the power over a grid of sample sizes.
1 2 | plotPowerByN(V, Delta, min_Delta, alpha = 0.05, sample_size_grid,
color = "black")
|
V |
The covariance matrix of mean EDTR estimators. |
Delta |
The vector of effect sizes with a zero indicating the best EDTR. |
min_Delta |
The minimum desired detectable effect size. |
alpha |
The Type I error rate for not including the true best EDTR. |
sample_size_grid |
A vector of sample sizes. |
color |
The color of the graph. |
It employs common random variables
to reduce the variance. See computePower
for more details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.