CKDステージ別GFR(箱ひげ図)

CKDステージ別のeGFR分布を比較する箱ひげ図テンプレート。

CKDGFR箱ひげステージ
CKDステージ別GFR(箱ひげ図)

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "CKD Stage", limits = c(0, 6)) +
  scale_y_continuous(name = "eGFR (mL/min/1.73m2)", limits = c(0, 120)) +
  labs(title = "GFR by CKD Stage (Boxplot)") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))