powersim | R Documentation |
Using the R packages metafor and pwr to calculate a powersimulation for a given dataset and specified parameters. The results are plotted using ggplot2.
powersim(yi, vi, measure, d, n, pval = 0.05)
yi |
A |
vi |
A |
measure |
A character string indicating underlying summary measure. Depending on the type of measure the input data for fitting needs to be transformed and backtransformed later. |
d |
A |
n |
A |
pval |
A |
returns a power plot
Robert Studtrucker
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.