library(survival) library(ggplot2) library(ggpubr) library(magrittr) #install.packages("survminer") library(survminer) library(dplyr) groupedclin% addmargins() coxph(Surv(Overall_Survival_Time, overall_survival_Event)~group, data=groupedclin) sfit