Re: [R] Bar charts with error bars

2008-06-24 Thread John Kane
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]> &

[R] Bar charts with error bars

2008-06-24 Thread Liat RT
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?