体液区分

体液区分テンプレート。ICF・ECF(ISF+Plasma)の容量分布をプロット。

体液ICFECFISF
体液区分

R Code (ggplot2)

library(ggplot2)

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

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Compartment", limits = c(0, 5)) +
  scale_y_continuous(name = "Volume (L)", limits = c(0, 45)) +
  labs(title = "Body Fluid Compartments") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))