Skip to content
Prev 33348 / 398513 Next

Confidence intervals plot

You have several options depending upon whether you simply want
vertical CI lines above and below xy data points or if you might want
a barplot with CI's.

You could draw the xy data points using plot() and then draw the CI's
yourself using either segments() or arrows() in the base package or
see plotCI(), plotmeans() and barplot2() in the 'gregmisc' package on
CRAN. plotmeans() is a "wrapper" function that can call plotCI().

HTH,

Marc Schwartz