[R] error bars around a point

Andy Bunn abunn at montana.edu
Sat Dec 20 01:31:52 CET 2003


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




More information about the R-help mailing list