> I can reach my goal in ggplot2, although the relative heights of the
> bar's pieces don't seem quite right (it does generate a warning):
>
> library(ggplot2)
> x<-factor(1)
> y<-factor( c("Male","Male","Female") )
> mydata <- data.frame(x,y)
> rm(x,y)
> mydata
Ooops! There was a bug in stat_bin
al Message-
> From: Marc Schwartz [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 24, 2008 11:32 AM
> To: Muenchen, Robert A (Bob)
> Cc: [EMAIL PROTECTED]
> Subject: Re: [R] Barplot w/ single stacked bar
>
> Muenchen, Robert A (Bob) wrote:
> > Hi All,
> >
>
Muenchen, Robert A (Bob) wrote:
> Hi All,
>
> I can get the barplot function to do many types of plots, stacked or
> otherwise. However, I cannot get it to do a *single* stacked bar. I've
> searched several books & listserv archives to no avail. I suspect I'm
> missing the obvious from the help fi
Hi All,
I can get the barplot function to do many types of plots, stacked or
otherwise. However, I cannot get it to do a *single* stacked bar. I've
searched several books & listserv archives to no avail. I suspect I'm
missing the obvious from the help file!
I can reach my goal in ggplot2, althoug
4 matches
Mail list logo