ebar: draw horizontal error bars

Description Usage Arguments Value Examples

Description

draw horizontal error bar, not called by users

Usage

1
ebar(x, y, lwd = 2, col = 1, lty = 1, length = 0.1, pch = 18)

Arguments

x

a vector of length 2

y

a single value or a numerical vector specify the position on y-axis

lwd

line width

col

color

lty

the lty

length

the length of vertical bars at the end of arrow bars

pch

shape for points of mean value

Value

no value to be returned

Examples

1
2
3
# plot(0, 0)
# ebar(c(-0.1, 0.1), c(0), lty = 2, lwd = 2, col = "red")
# ebar(c(-0.1, 0.1), c(0.1, 0, -0.4), lty = 2)

mengchen18/proturn documentation built on May 30, 2019, 4:37 p.m.