I have a large data set which is currently in the following format:
Label X Y pond
1 172 107 A
1 655 130 A
1 761 169 A
but it needs to be formatted in the following way:
Label X1 X2 X3 Y1 Y2 Y3 pond
1 172 655 761 107 130 169 A
Many thanks for your kind attention.