I\'m learning to use ggplot2 and am looking for the smallest ggplot2 code that reproduces the base::plot result below. I\'ve tried a f
ggplot2
base::plot
After a couple of years, I've settled on doing:
ggplot(df, aes(as.Date(as.character(date), '%Y%m%d'), cumsum(val))) + geom_line()