薬物動態片対数プロット

薬物動態の片対数プロットテンプレート。半減期の決定に使用。

薬物動態片対数半減期
薬物動態片対数プロット

R Code (ggplot2)

library(ggplot2)

# ---- PK: Semi-log Plot ----
# あなたのデータを入力してください
df <- data.frame(
  x = c(),
  y = c()
)

ggplot(df, aes(x = x, y = y)) +
  geom_point(size = 2) +
  geom_line() +
  scale_x_continuous(name = "Time (hr)", limits = c(0, 24)) +
  scale_y_log10(name = "Plasma concentration (log scale)", limits = c(0.1, 100)) +
  labs(title = "PK: Semi-log Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))