カプランマイヤー生存曲線
カプランマイヤー生存曲線テンプレート。臨床研究・疫学研究の生存分析に使用。

R Code (ggplot2)
library(ggplot2) # ---- Kaplan-Meier 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", limits = c(0, 60)) + scale_y_continuous(name = "Survival Probability", limits = c(0, 1)) + labs(title = "Kaplan-Meier Survival Curve") + theme_bw(base_size = 14) + theme(plot.title = element_text(face = "bold", hjust = 0.5))







