Relative Content

Tag Archive for rdataframesorting

Rearrange my data frame to merge multiple rows into one

I have a very large dataframe and I was wondering if it was possible to rearrange it with R without having to do it manually. Thanks for your answers.
This is how my dataframe looks as of now
This is how I want it to look