add error bars to a scatterplot.

errorbar(x, y, xupper = NULL, xlower = NULL, yupper = NULL, ylower = NULL,
    col = "black", lty = 1)

Arguments

x

numeric

y

numeric

xupper

numeric

xlower

numeric

yupper

numeric

ylower

numeric

col

colors

lty

numeric

Value

errorbars in a plot

Examples

x <- seq(0, 2 * pi, length.out = 100) y <- sin(x) plot(x, y, type = "l")
errorbar(x, y, yupper = 0.1, ylower = 0.1)