Re: [R] Changing colour in barchart

2011-09-27 Thread shikantaza
Thanks for your help - very useful! Martyn. -- View this message in context: http://r.789695.n4.nabble.com/Changing-colour-in-barchart-tp3843209p3846866.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] Changing colour in barchart

2011-09-26 Thread shikantaza
Hello. I've been trying to change the colour of the bars in the auto.key to blue and red. I have tried: barchart(Rate~Digit,Ben,groups=Cat, horizontal=FALSE,ylab="Rate (%)",auto.key=list(points=FALSE,rectangles=TRUE,space="right"),col = c("blue", "red"),main="Benford's rate vs combined \n sample r