How can I compare 2 years with ggplot2 in R?
I have a data set which is like:
month: num 2 4 6 8 10 11 12 1
year: factor 2018 2019 2018 2019
value: num 1000 11555 111220 14445
I need to compare these 2 years over the months in a plot.
my x axis needs to be month
my y axis needs to be value
and my lines needs to be the years values.