I have data set that i put a picture of. I want to create 4 new groups that will consist of different transects. On the picture you can see different letters and nunmbers so each habitat has a letter and consists of 4 samplins points. So what i want is that each habitat has the values from their transect.
As an example I want to have habitats: Torre,Bolsa,Amable,Eduardo and for examples Torre would have values from T1-T4, Bolsa B1-B4, Amable A1-A4 etc. How can I create such groups?
Thank you very much for your help!