[R] plotting different level of classficifaction

From: jiho.han <whizvast_at_gmail.com>
Date: Tue, 13 May 2008 16:10:56 -0700 (PDT)

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.

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 14 May 2008 - 00:57:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 14 May 2008 - 14:30:37 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive