Given a set of x and y values and upper and lower bounds, this function plots the points with error bars. This was Written by Venables and modified to add access to ylim and contents.
plotCI(x, y = NULL, uiw, liw = uiw, ylo = NULL, yhi = NULL, ...,
sfrac = 0.01, ymax = NULL, add = FALSE, col = "black")
The x coordinates of points in the plot
The y coordinates of the points in the plot.
The width of the upper portion of the confidence region.
The width of the lower portion of the confidence region.
Lower limit of y range.
Upper limit of y range.
Additional inputs that will be passed to the function
plot(x,y,ylim=ylim,...)
Fraction of width of plot to be used for bar ends.
Additional input for Upper limit of y range.
Add points and intervals to existing plot? Default=FALSE.
Color for the points and lines.