生存曲線(汎用)
汎用生存曲線テンプレート。治療群別の生存確率をプロット。

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







