[R] Beside Barplot

darnold dwarnold45 at suddenlink.net
Mon Aug 20 20:00:38 CEST 2012


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)

Thanks

David



--
View this message in context: http://r.789695.n4.nabble.com/Beside-Barplot-tp4640807.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list