Description Usage Arguments Examples
Plots statistical power, minimum detectable effect size (MDES), or MDES difference (MDESD) curves with (1-α)x100 % confidence interval.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## S3 method for class 'power'
plot(x, ypar = "power", xpar = NULL,
xlim = NULL, ylim = NULL,
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
locate = FALSE, ...)
## S3 method for class 'mdes'
plot(x, ypar = "power", xpar = NULL,
xlim = NULL, ylim = NULL,
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
locate = FALSE, ...)
## S3 method for class 'mrss'
plot(x, ypar = "power", xpar = NULL,
xlim = NULL, ylim = NULL,
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
locate = FALSE, ...)
|
x |
an object returned from one of the |
ypar |
character; |
xpar |
character; one of the sample sizes on |
xlim |
limits for |
ylim |
limits for |
xlab |
|
ylab |
|
main |
title for the plot (ignored for objects returned from |
sub |
subtitle for the plot (ignored for objects returned from |
locate |
logical; |
... |
other graphical parameters to pass to |
1 2 3 4 5 6 7 | design1 <- mdes.cra3(rho3=.06, rho2=.17, n=15, J=3, K=60)
plot(design1, ypar = "mdes", xpar = "K", xlim = c(30, 100))
plot(design1, ypar = "power", xpar = "K", xlim = c(30, 100))
design2 <- power.cra3(es=.269, rho3=.06, rho2=.17, n=15, J=3, K=60)
plot(design2, ypar = "mdes", xpar = "K", xlim = c(30, 100))
plot(design2, ypar = "power", xpar = "K", xlim = c(30, 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.