error_bar: error_bar

Description Usage Arguments Examples

View source: R/MarkdownReportsDev.R

Description

Put error bars on top of your bar plots. This functionality is now integrated into MarkdownReporter's wbarplot() function

Usage

1
error_bar(x, y, upper, lower = upper, width.whisker = 0.1, ...)

Arguments

x

X-position on the plot.

y

Y-position on the plot.

upper

Size of the upper error bar.

lower

Size of the lower error bar. By default, it equals the upper error bar.

width.whisker

Width of the error bar whisker.

...

Pass any other argument to the arrows function. arrows function(most of them should work).

Examples

1
plot (1); error_bar (x = 1, y = 1, upper = .1, width.whisker = 0.1)

vertesy/MarkdownReportsDev documentation built on Nov. 15, 2021, 9:59 a.m.