Hello, everyone!

Suppose there are v1, v2, v3, t1, t2 five variables, now I want to calculate mean of v1, v2, v3 grouped by t1 and t2, then store the means in a new file, how can I achieve it?

Thanks a lot!