plot.webpower | R Documentation |
This function is used to plot the power curves generated by webpower.
## S3 method for class 'webpower'
plot(x, xvar = NULL, yvar = NULL, xlab = NULL,
ylab = NULL, ...)
x |
Objects of power analysis. |
xvar |
The variable name used as the x (horizontal) axis. It is not required. |
yvar |
The variable name used as the y (vertical) axis. It is not required. |
xlab |
The label for the x axis. It is not required. |
ylab |
The label for the y axis. It is not required. |
... |
Extra arguments. It is not required. |
The plot.
res <- wp.correlation(n=seq(50,100,10),r=0.3, alternative="two.sided")
plot(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.