状態別心拍出量(箱ひげ図)

生理的状態別の心拍出量分布を比較する箱ひげ図テンプレート。

心拍出量状態箱ひげ比較
状態別心拍出量(箱ひげ図)

R Code (ggplot2)

library(ggplot2)

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