errorBars: Helper function for drawing error bars

errorBarsR Documentation

Helper function for drawing error bars

Description

Helper function for drawing error bars

Usage

errorBars(xs, val, err, l = 0.01, vertical = TRUE, topToBottom = TRUE, ...)

Arguments

xs

vector of x coordinates of data points (In case of vertical=FALSE, these are interpreted as y-coordinates)

val

the values (heights) of the data points.

err

the size amount of error associated with each bar

l

the length of the terminators of the bar

vertical

whether the bars are vertical or horizontal

topToBottom

whether the error is represented as the distance between the top and bottom of the bar, or the middle and the top.

...

any other graphical parameters


jweile/yogitools documentation built on May 11, 2023, 7:42 p.m.