power | R Documentation |
Estimate Power or Sample Size from a simulation
power(psim, alpha = 0.05, exclude = c())
psim |
A simPower result object. |
alpha |
Alpha level for power estimation |
power |
Target power |
Return either the sample size if power was set with estimatePower
or the power if sample size was fixed with estimateSampleSize
.
Andreas M. Brandmaier
simPower
power(psim, alpha=.05)
sampleSize(psim, power=0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.