Say I have a matrix like this:
x y z f
a 2 2 3 10
b 2 3 1 90
c 2 2 3 10
What I wanted is when x, y and z is equal in two row I want to merge them by their sum on f. Here a and c is identical by x, y and z, and I want to add c's f to a's f.
So what I get will be this:
x y z f
a 2 2 3 20
b 2 3 1 90
How can I do this?
Thanks.