meanDecompose function

Mean decomposition of a variable by group(s)