曝露・アウトカム散布図

曝露・アウトカム散布図テンプレート。曝露量と疾患発生の関係。

scatter散布図曝露アウトカム疫学
曝露・アウトカム散布図

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Exposure Level", limits = c(0, 100)) +
  scale_y_continuous(name = "Disease Rate", limits = c(0, 50)) +
  labs(title = "Exposure-Outcome Scatter") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))