error.bar: Plot error bar

Description Usage Arguments See Also Examples

View source: R/plot.R

Description

Adding error bar to a barplot

Usage

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

Arguments

x

position on x-axis.

y

position on y-axis.

upper

length of upper error bar

See Also

aid, lesion.barplot and biomass.barplot.

Examples

1
2
barx <- barplot(1:10, ylim=c(0,12))
error.bar(barx, 1:10, rep(1,10))

wangqinhu/aid documentation built on May 4, 2019, 12:58 a.m.