I have a data that looks like this –
1.000000 3.000000 12.772348
1.000000 3.000000 295.544610
1.000000 5.000000 121.180790
1.000000 5.000000 141.528104
1.000000 6.000000 253.601575
1.000000 6.000000 74.807279
1.000000 7.000000 69.999278
2.000000 10.000000 48.205100
2.000000 11.000000 267.308963
2.000000 11.000000 78.648585
2.000000 12.000000 125.921451
2.000000 12.000000 52.058998
2.000000 12.000000 82.227857
I want to extract out the unique values in 1st and 2end column and mean of z value for repeating values in the 1st and 2end column in the 3th column. Like –
1.000000 3.000000 154.1584791.000000 5.000000 131.3544471.000000 6.000000 164.2044271.000000 7.000000 69.9992782.000000 10.000000 48.2051002.000000 11.000000 172.9787742.000000 12.000000 86.736102
Can someone please help me with this .. Thanks..
Best Answer