Does this example help? my.values <- c(10, 5) err1 <- c(.5,.3) x <- barplot(my.values, ylim=c(0,12)) arrows(x,my.values-.5 ,x,my.values+.5, code=3, angle=90, length=.1) box()
--- On Tue, 6/24/08, Liat RT <[EMAIL PROTECTED]> wrote: > From: Liat RT <[EMAIL PROTECTED]> > Subject: [R] Bar charts with error bars > To: r-help@r-project.org > Received: Tuesday, June 24, 2008, 11:06 AM > I would like to add error bars to a bar chart, I have > created in R. I am able to add error bars to a bar plot, > but the same method does not seem to work for my bar chart > version. > > Is there a way to add error bars to bar charts? > > > > ________________________________________________________ > Audi, Fiat, Peugeot, Skoda, Porsche, Toyota, Ford - Kelkoo > har brugte biler til en hver smag! Klik her for at > sammenligne priser.(http://dk.yahoo.com/r/pat/mmb) > [[alternative HTML version > deleted]]______________________________________________ > R-help@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. __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now at http://ca.toolbar.yahoo.com. ______________________________________________ R-help@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.