個別反応スパイダープロット

個別反応スパイダープロットテンプレート。臨床試験の個別応答表示。

spiderスパイダー個別反応臨床試験
個別反応スパイダープロット

R Code (ggplot2)

library(ggplot2)

# ---- Individual Response Spider 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, 48)) +
  scale_y_continuous(name = "% Change from Baseline", limits = c(-100, 100)) +
  labs(title = "Individual Response Spider Plot") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))