全生存曲線

全生存曲線テンプレート。長期予後の評価に使用。

全生存OS長期予後生存率
全生存曲線

R Code (ggplot2)

library(ggplot2)

# ---- Overall Survival Curve ----
# あなたのデータを入力してください
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 (months)", limits = c(0, 120)) +
  scale_y_continuous(name = "Overall Survival", limits = c(0, 1)) +
  labs(title = "Overall Survival Curve") +
  theme_bw(base_size = 14) +
  theme(plot.title = element_text(face = "bold", hjust = 0.5))