margI function

Row marginals of a three-way contingency table