[R] error bars around a point

Andy Bunn
Sat, 20 Dec 2003 00:31:52 -0000

See errbar in Hmisc. I found this with:

help.search("error bar")

And it's in the html help too. And on the r site:
http://cran.r-project.org/search.html
http://www.google.com/search?q=error+bar&domains=r-project.org&sitesearc
h=r-project.org

# Example
require(Hmisc)
set.seed(1)
x <- 1:10
y <- x + rnorm(10)
delta <- runif(10)
errbar( x, y, y + delta, y - delta )

HTH, Andy