I've recently started to work with ggplot2 and R in general. I'm working on a plot I would like to use for presentation purposes, but I have some difficulty cleaning it properly.
Specifically, I would like the grey shaded rectangle to go all the way from top to bottom. I need to specify -ymin- and -ymax-, but it does not alter the rectangle the way I want. Hopefully, someone here can help me out.
Don't mind the time variable, it's originally Stata-formatted and I'm currently working on importing Stata-formatted date variables to R. (I would appreciate sources on this as well.)
If your question has been answered, would you mind choosing a solution? (see FAQ below for how) It makes it a bit easier to visually navigate the site and see which questions still need help.