[R] plotting different level of classficifaction

jiho.han whizvast at gmail.com
Wed May 14 01:10:56 CEST 2008


hello, useRs~
suppose i have a matrix as follows:
item    category      sub-category
  A           1                  11
  B           1                  12
  C           1                  12
  D           2                  21
  E           2                  22

i like to draw a plot that represent the proportion of each 
category at each level. that is, i want a plot like this:
    +-----+   +-----+  
    |        |   |   11 |
    |        |   +-----+
    |   1   |   |   12  |
    |        |   |        |
    +-----+   +-----+
    +-----+   +-----+
    |        |   |   21 |
    |   2   |   +-----+
    |        |   |   22 |
    +-----+   +-----+
  category   sub-cateory

hope my plot makes sense. anyone know how to make such plot?
any hint/suggestion would be much appreciate. thank you.


-- 
View this message in context: http://www.nabble.com/plotting-different-level-of-classficifaction-tp17220264p17220264.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list