powered by
This function is used to plot the power curves generated by webpower.
# S3 method for webpower plot(x, xvar = NULL, yvar = NULL, xlab = NULL, ylab = NULL, ...)
The plot.
Objects of power analysis.
The variable name used as the x (horizontal) axis. It is not required.
The variable name used as the y (vertical) axis. It is not required.
The label for the x axis. It is not required.
The label for the y axis. It is not required.
Extra arguments. It is not required.
res <- wp.correlation(n=seq(50,100,10),r=0.3, alternative="two.sided") plot(res)
Run the code above in your browser using DataLab