Re: [R] Beside Barplot

2012-08-20 Thread David L Carlson
bounces@r- > project.org] On Behalf Of David L Carlson > Sent: Monday, August 20, 2012 2:15 PM > To: 'darnold'; r-help@r-project.org > Subject: Re: [R] Beside Barplot > > Sure but which way? > > > dput(mydata) > structure(list(opinion = structure(c(4L, 5L, 1L,

Re: [R] Beside Barplot

2012-08-20 Thread David L Carlson
-Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of darnold > Sent: Monday, August 20, 2012 1:01 PM > To: r-help@r-project.org > Subject: [R] Beside Barplot > > All, > > Is there a way to get a barplot w

[R] Beside Barplot

2012-08-20 Thread darnold
All, Is there a way to get a barplot with beside for the following without reshaping mydata? opinion <- c("Almost no chance", "Probably Not","50-50 Chance","A good chance","Almost certain") female <- c(96,426,696,663,486) male <- c(98,286,720,758,597) mydata<-data.frame(opinion,female,male) Th