GG_funnel: Funnel plot with ggplot2

View source: R/meta.R

GG_funnelR Documentation

Funnel plot with ggplot2

Description

Makes a pretty funnel plot using ggplot2.

Usage

GG_funnel(.analysis, .CI = 0.95, .study_CI = F)

Arguments

.analysis

(rma object) The rma analysis from metafor.

.CI

(chr vector) Confidence interval to use.

.study_CI

(lgl vector) Whether to plot confidence intervals for individual studies.

Examples

library(metafor); data(european_ancestry)
meta = rma(european_ancestry$r, sei = european_ancestry$SE_r)
GG_funnel(meta)
GG_funnel(meta, .study_CI = T)

Deleetdk/kirkegaard documentation built on June 7, 2024, 7:49 a.m.