I want to make two lines of X axis labels in ggplot.
In this plot, I want to add one more line of label below each specified year. Something like
1990 1995 2000 2005 2010
cold warm warm cold warm
This is my code for making this plot
ggplot(subset(dat, countryid %in% c("1")), aes(date,
nonpartisan))+geom_line(aes(color=countryid), color="dodgerblue1",
size=1.4)+geom_line(aes(date, reshuffle), color="gray")+ theme_bw()
Is there any way to make one more line of label by creating a column specifically for the labels?
Thanks!