治療反応スイマープロット

治療反応スイマープロットテンプレート。治療反応と持続期間を表示。

スイマー反応持続免疫療法
治療反応スイマープロット

R Code (ggplot2)

library(ggplot2)

# ---- Response Swimmer 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 (weeks)", limits = c(0, 52)) +
  scale_y_continuous(name = "", limits = c(0, 8)) +
  labs(title = "Response Swimmer Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))