I have the following data frame.
Student Score
Thomas 23.6
Sally 28.1
Chris 27.9
Morrison 32.5
Thomas 30.3
Sally 54.2
Morrison 44.3
Chris 99.2
How do I convert it into
Thomas Sally Morrison Chris
23.6 28.1 32.5 27.9
30.3 54.2 44.3 99.2
NOTE: It doesn't have to have the exact order of the data frame above.
I tried transforming it with reshape2, reshape, dcast, melt, cbind, etc. I couldn't find anything that worked.