meta_pcurve | R Documentation |
Makes a pretty p-curve plot using ggplot2.
meta_pcurve(
.analysis,
p_cutoff = 0.05,
print_plot = T,
binom_method = "exact",
text_pos = "tl"
)
.analysis |
(rma object) The rma analysis from metafor. |
p_cutoff |
(num) P-value cutoff to use. |
print_plot |
(lgl) Print the plot? |
binom_method |
(chr) Which method to use to calculate binomial p-value. |
library(metafor)
data(european_ancestry)
meta = rma(european_ancestry$r, sei = european_ancestry$SE_r)
meta_pcurve(meta)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.