options available for visualizing a matrix type data frame in R I have a data frame looking like the following:
p1-p5 are different products

A-C: price bands
1-3: size bands
e.g. A1: small store selling the expensive that product
     D3: big store selling cheap that product
values are the numbers of stores for each category A1-C2 per product

type    p1  p2  p3  p4  p5
  A1    158 48  18  6   62
  A2    343 151 58  49  55
  B1    400 181 200 29  863
  B2    398 093 448 215 795
  C1    809 217 154 15  422
  C2    877 549 340 46  576


What would it be the best way to visualize that information and which packages are available for that. I have found gridplot but unfortunately I havent managed to try it yet as I have issues with the Rstudio version.

Examples are more than welcome!

I've got that so far from a function found online
I'm expecting your data in this form (use melt to transform the data):

   type product value
1   A1      p1   158
2   A2      p1   343
3   A3      p1   247
4   B1      p1   400
5   B2      p1   398
6   B3      p1   408


You may easily (using lattice package) draw a barchart diagram.

Personally, I'd switch to heatmap only after this diagram is no more feasible due to large number of levels in the product or channel factors.

library(lattice)
barchart(product~ value | type,
data =  dfp,
scales=list(x=list(rot=90, cex= 1 ),y=list(cex=1)),par.strip.text=list(cex=1), origin = 0,  
ylab="Product", xlab="Volume", 
main= "Matrix Visualization")




Of course you may also swap the dimensions by changing the formula. Use the parameter layout to align the barchart based on the number of levels.

barchart(type~ value | product,
data =  dfp,
scales=list(x=list(rot=90, cex= 1 ),y=list(cex=1)),par.strip.text=list(cex=1), origin = 0,  layout= c(5,1),
ylab="Channel", xlab="Volume", 
main= "Matrix Visualization")