library(GGally) library(ggplot2) library(survival)
all_data <- read.csv (file='D:/model_evaluation/all_data.csv')
sc.stage<-survfit(Surv(Survival_years,Event = = 0)~V9, data= all_data)
ggsurv(ethnicity) Repeat the steps for all the important variables.