posthoc function

Generic post-hoc test