ebar_polygon: Draw Symmetric Error Bars (stable)

View source: R/plot_helpers.R

ebar_polygonR Documentation

Draw Symmetric Error Bars (stable)

Description

Draw Symmetric Error Bars

(stable)

Usage

ebar_polygon(
  x,
  y,
  sem,
  alpha = 100,
  col = "black",
  fill = col,
  stroke = col,
  border = NA,
  add_line = TRUE,
  lwd = 1,
  ...
)

Arguments

x, y

plot data

sem

error bar half width

alpha

transparency

col

color

fill

error bar color

stroke

if add lines, line color

border

errorbar border width

add_line

add line(x,y) or not

lwd

line weight

...

passed to lines

Examples

## Not run: 
plot_clean(0:10, -1:5, xlab = 'X')
ruta_axis(side = 2, at = -1:8)
ebar_polygon(1:10, (1:10)/2, rnorm(10))

## End(Not run)

dipterix/rutabaga documentation built on June 25, 2022, 2:38 p.m.