重症度別乳酸値(箱ひげ図)

重症度別の乳酸値分布を比較する箱ひげ図テンプレート。

乳酸重症度箱ひげ救急
重症度別乳酸値(箱ひげ図)

R Code (ggplot2)

library(ggplot2)

# ---- Lactate by Severity (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 = "Severity", limits = c(0, 4)) +
  scale_y_continuous(name = "Lactate (mmol/L)", limits = c(0, 15)) +
  labs(title = "Lactate by Severity (Boxplot)") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))