I am trying to develop a hazard plot for intubation risk in PE patients. I already have a survival plot using this syntax
fit <- survfit(Surv(time,died)~ PE, data = df1)
df1<- print (ggsurvplot(fit, data = df1,risk.table="percentage", ggtheme = theme_minimal(), legend.title = "Pulmonary Embolism", legend.labs = c("Negative", "Positive")))
I was wondering if there was a way to plot hazard curve(down up) instead of survival curve( up down) in the survminer package. I would like to use survminer for consistency.