ファネルプロット

ファネルプロットテンプレート。出版バイアスの検出に使用。

ファネルプロット出版バイアスメタ分析
ファネルプロット

R Code (ggplot2)

library(ggplot2)

# ---- Funnel Plot ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Effect size", limits = c(-2, 2)) +
  scale_y_continuous(name = "Standard error", limits = c(0, 1)) +
  labs(title = "Funnel Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))