[R] how to plot a variable's histogram in the levels of a second variable(1)

From: Argyro Antaraki <arantarak_at_yahoo.gr>
Date: Fri, 14 Nov 2008 05:55:09 +0000 (GMT)


Goodmorning to everyone,

I am trying to create a clustered
barplot for the following 2 variables who have more cases but as an example i am giving you 10 items:

sex  socio-economic status
1     1
2     2
2     2
2     3
2     2
1     4
1     1
1     1
2     3
2     1

where sex: 1:man, 2:woman
           socio-economic status:1:Low, 2:Medium, 3:High, 4:Very High

Does anybody came across with a similar graph?

Thank you in
 advance.

Argyro Antaraki
School of Medicine, Athens University
 Biomedical Research Institute, Academy of Athens       



Χρησιμοποιεί[[elided Yahoo spam]] Βαρεθήκατε τα ενοχλητικά μη διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr

        [[alternative HTML version deleted]]



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 Fri 14 Nov 2008 - 06:03:54 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 Fri 14 Nov 2008 - 11:30:24 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