stat_cross function

Compute cross-tabulation statistics