powered by
add error bars to a scatterplot.
errorbar(x, y, xupper = NULL, xlower = NULL, yupper = NULL, ylower = NULL, col = "black", lty = 1)
numeric
colors
errorbars in a plot
# NOT RUN { 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) # }
Run the code above in your browser using DataLab