I have a data frame that looks like this:
And I want to make it so that my output will be:
The "Year" Column will have values of 2001,2002,2003.....
The "Values" Column will have the values from the respective years
Apologies in advance, I'm new to R studio and I've been stuck on this question for a long time.