I have a data frame that looks something like this
A B C
x 2013 23
x 2014 47
x 2015 83
I'd like to transform it so that I have all data and other dimensions for x in one row:
A B C D E F G
x 2013 23 2014 47 2015 83
How can I do this using R? Can I use the Reshape package?
Many thanks,
Jim