add error bars to a scatterplot.
errorbar(x, y, xupper = NULL, xlower = NULL, yupper = NULL, ylower = NULL, col = "black", lty = 1)
x | numeric |
---|---|
y | numeric |
xupper | numeric |
xlower | numeric |
yupper | numeric |
ylower | numeric |
col | colors |
lty | numeric |
errorbars in a plot
errorbar(x, y, yupper = 0.1, ylower = 0.1)