How to represent data in the cross product of categories in R

I have a data frame. In that data frame I have two categorical variables. If I consider the cross product of those 2, then I have one row per element in my data frame. The table shown below is a table of frequencies. Instead of showing the number of occurrences I would like to show… Read More How to represent data in the cross product of categories in R