[R] multi-class histogram?
Petr Pikal
petr.pikal at precheza.cz
Fri Sep 23 11:02:51 CEST 2005
Hi
Look at ?barplot and its parameter beside.
HTH
Petr
On 23 Sep 2005 at 10:45, Karin Lagesen wrote:
>
> I am new to R, and I couldn't find the answers to my question in a
> faq. This could however be because I didn't know what to look for...:)
>
> I have three classes of data, data for bacteria, archaea and
> eukaryotes. I wish to display these in a histogram where all of the
> values are used to calculate each column. But, I want each column
> split in three, where the size of each coloured area represents the
> proportions of the values in that column that comes from each of the
> three classes. Do you have any tips on how I do this?
>
> Karin
> --
> Karin Lagesen, PhD student
> karin.lagesen at medisin.uio.no
> http://www.cmbn.no/rognes/
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html
Petr Pikal
petr.pikal at precheza.cz
More information about the R-help
mailing list