errorbar.RdDraws symmetric error bars in x- and/or y-direction.
errorbar(x, y, xerr = NULL, yerr = NULL,
bar.col = "red", bar.len = 0.01,
grid = TRUE, with = TRUE, add = FALSE, ...)x-, y-coordinates
length of the error bars, relative to the x-, y-values.
color of the error bars; default: red
length of the cross bars orthogonal to the error bars; default: 0.01.
logical; should the grid be plotted?; default: true
logical; whether to end the error bars with small cross bars.
logical; should the error bars be added to an existing plot?; default: false.
additional plotting parameters that will be passed to the
plot function.
errorbar plots y versus x with symmetric error bars,
with a length determined by xerr resp. yerr in x- and/or
y-direction. If xerr or yerr is NULL error bars in
this direction will not be drawn.
A future version will allow to draw unsymmetric error bars by specifying
upper and lower limits when xerr or yerr is a matrix of
size (2 x length(x)).
Generates a plot, no return value.
plotrix::plotCI, Hmisc::errbar