I am plotting survival curve with ggsurvplot. That's ggsurvplot(survfit(Surv(years, mortality)~group, data = dat1, weights = w.ATT), fun='event', risk.table = T, legend.lab=c('1','2','3'), legend.title="",surv.scale='percent', break.time.by=2, xlab='years', legend='right', title="All-cause mortality", test.for.trend=T, pval.method.coord=c(5,10), conf.int=T, break.y.by=0.05)
On y-axis I only get percentage with a decimal,. but I'd like to have no decimal at all. I have tried with scale_y_continuous but it did not work.