Description Usage Arguments Examples
Plots statistical power or minimum detectable effect size curves with (1-α)x100 % confidence interval for the design of interest.
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, score = NULL, ypar = "mdes", xpar = NULL,
xlim = NULL, ylim = NULL,
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
locate = FALSE, benchmark = NULL, ...)
## S3 method for class 'mdes'
plot(x, score = NULL, ypar = "mdes", xpar = NULL,
xlim = NULL, ylim = NULL,
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
locate = FALSE, benchmark = NULL, ...)
## S3 method for class 'cosa'
plot(x, score = NULL, ypar = "mdes", xpar = NULL,
xlim = NULL, ylim = NULL,
xlab = NULL, ylab = NULL,
main = NULL, sub = NULL,
locate = FALSE, benchmark = NULL, ...)
|
x |
an object returned from functions in cosa package. |
score |
vector or list; an empirical score variable or an object with class 'score' returned from the |
ypar |
character; |
xpar |
character; one of the sample sizes on |
xlim |
limits for |
ylim |
limits for |
xlab |
|
ylab |
|
main |
title for the plot. |
sub |
subtitle for the plot. |
locate |
logical; |
benchmark |
benchmark line. |
... |
other graphical parameters to pass to |
1 2 3 | d1 <- mdes.bcrd3r2(rho2 = .10, rho3 = .20, omega3 = .30,
n1 = 20, n2 = 44, n3 = 50)
plot(d1, xpar = "n3", xlim = c(30, 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.