Description Usage Arguments Examples
'geom_funnel()“ computes psuedo confidence limits for the summary estimate of a meta-analysis to be used in a funnel plot.
1 2 3 4 5 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
ci_level |
the confidence level desired for the psuedo-CI lines. Between 0 and 1. Also used for line labels. |
log_summary |
a summary estimate (see |
color, colour |
line color |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
If |
summary_label |
a string. The legend label for the summary line. |
ci_label |
a string. The legend label for the CI lines. Default is
|
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
... |
other arguments passed on to |
1 2 3 4 5 6 7 8 | library(ggplot2)
ma <- meta_analysis(iud_cxca, yi = lnes, sei = selnes, slab = study_name)
ggplot(ma, aes(x = estimate, y = std.error)) +
geom_point() +
geom_funnel(aes(summary = pull_summary(ma))) +
scale_y_reverse()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.