enter image description hereI have a dataframe that has several rows with the same ID and columns 1 to 1273 (please see image). I would like to merge all the rows with the same ID.
I tried this R code (attached image - I can't seem to add my code in text)enter image description here:
This did not exactly work for me because I was expecting to see the attached imageenter image description here. Could I please get some assistance with this, I would greatly appreciate it.