[R] Bar plots with stacked and grouped (juxtaposed) bars together
John Kane
jrkrideau at yahoo.ca
Tue Jan 5 17:25:31 CET 2010
I have the feeling that you can do this with ggplot2 but why?
You are likely to be much better off using a dotchart.
?dotchart
--- On Mon, 1/4/10, Elmer Wix <elmer.cabekaziruronometu.wix at gmail.com> wrote:
> From: Elmer Wix <elmer.cabekaziruronometu.wix at gmail.com>
> Subject: [R] Bar plots with stacked and grouped (juxtaposed) bars together
> To: r-help at r-project.org
> Received: Monday, January 4, 2010, 10:00 PM
> Using barplot, I can generate stacked
> bars if I pass beside=FALSE.
>
> I can generate grouped (juxtaposed) bars if I pass
> beside=TRUE.
>
> How can I generate stacked and grouped bars together?
>
> ______________________________________________
> 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.
>
More information about the R-help
mailing list