[R] Multiple stacked barplots on the same graph?

From: Stéphane CRUVEILLER <scruveil_at_genoscope.cns.fr>
Date: Tue, 04 Dec 2007 15:03:40 +0100


Dear R-Users,

I would like to know whether it is possible to draw several stacked barplots (i.e. side by side on the same sheet)...

my data look like :

                            Cond1  Cond1' Cond2   Cond2'
Compartment 1    11,81    2,05    12,49    0,70   
Compartment 2     10,51    1,98    13,56    0,85
Compartment 3     1,95    0,63    2,81    0,22  
Compartment 4     2,08    0,17    3,13    0,06   
Compartment 5     2,51    0,20    4,58    0,03

ps: Cond1' values should be stacked on Cond1, Cond2' on Cond 2 and so on... and series 1 and 2
should be side by side for each compartement....

Thanks for any help.

Stéphane.

--

"La science a certes quelques magnifiques réussites à son actif mais à tout prendre, je préfère de loin être heureux plutôt qu'avoir raison." D. Adams
--

AGC website <http://www.genoscope.cns.fr/agc>

        Stéphane CRUVEILLER Ph. D.
Genoscope - Centre National de Séquencage Atelier de Génomique Comparative
2, Rue Gaston Cremieux CP 5706
91057 Evry Cedex - France
Phone: +33 (0)1 60 87 84 58
Fax: +33 (0)1 60 87 25 14
scruveil_at_genoscope.cns.fr



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 Tue 04 Dec 2007 - 14:12:12 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 Tue 04 Dec 2007 - 16:30:17 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.