errorbar: add error bars to a scatterplot.

Description Usage Arguments Value Examples

View source: R/beginr.R

Description

add error bars to a scatterplot.

Usage

1
2
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

1
2
3
4
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)

beginr documentation built on May 6, 2019, 1:08 a.m.

Related to errorbar in beginr...