plot.PSpower | R Documentation |
Plots PSpower object
## S3 method for class 'PSpower'
plot(x, power = seq(0.6, 0.99, length.out = 100), ...)
x |
PSpower object |
power |
a range of powers to plot the power curve |
... |
ignored |
an object (class ggplot) containing a figure
obj <- PSpower(tau = 1/sqrt(20), sig.level = 0.05, power = 0.956,
r = 0.5, phi = 0.99, rho_sq = 0.02)
plot(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.