error.bar: Add error bars onto barplot

Description Usage Arguments

View source: R/error.bar.R

Description

Add error bars onto barplot

Usage

1
error.bar(x, y, upper, lower = upper, length = 0.1, ...)

Arguments

x

A matrix object output from barplot() function.

y

A numeric vector of Y-axis variable (typically mean)

upper

A numeric of vertical lenght of upper error bars

lower

A numeric of vertical lenght of lower error bars. Defults to upper.

length

A vector of lengths of the edges of the arrow head (in inches). Defults to 0.1.


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.