plot_means function

Plot means by sub-groups