I am trying to add vertical lines to a time series plot I made in base R plot(data1,type = 'l',lwd = 1.5, family = "A", ylab ="", xlab = "", main = ""). This plot has a total of 5 plots inside of it. There are two x-axes that are the same
(see current plot)
When adding vlines with abline(v=c(27,87, 167, 220, 280, 329), lty=2) I get this result 
Is there a way to get them to go on the graphs so it looks something like this but with dashed lines and the lines within the plots.
Or if you know of a better way to plot this in ggplot that would be fantastic as well. Thank you so much in advance.



