I use the ggsurvplot from survminer package in R to plot Kaplan-Meir curves. Here is the code and the following error:
library(ggplot2) library(survival) libr