My problem is simple but I have not been able to find a post that solves it.
Here is my data set DF:
Year CO2Seq CO2Seq2
1 2000 1135704 1107400
2 2003 3407111 3444508
3 2010 1703555 1661100
4 2015 2271407 2296339
I would like to create a barplot where the bars CO2Seq and CO2Seq2 are next to each other for each year.
For the moment, I have only been able to create a simple barplot for CO2Seq with this script
ggplot(DF,aes(x=factor(Year), y=CO2Seq))+geom_bar(stat="identity")
Could you help me?
Thanks a lot