Dear R users,

I am trying to draw error bars in a bar plot, I use this code (tried many 
others which did not work):

install.packages()
library(gplots)
y <-c(39.02, 46.42)
se <- c(7.57,7.35)
plot <- barplot(y, beside=TRUE, col=0, ylim=c(0,47), axis.lty=1, 
main="far-red", xlab="latitude", names.arg=c("56N", "68N"))
superpose.eb(plot, y, se, col="orange", lwd=2)

Then I get an error saying that it cannot find the superpose.eb function.

Why? IsnĀ“t under gplots?

Thanks
Rosario

______________________________________________
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.

Reply via email to