ebars: Draw Symmetric Error Bars

View source: R/plot_helpers.R

ebarsR Documentation

Draw Symmetric Error Bars

Description

Draw Symmetric Error Bars

Usage

ebars(
  x,
  y = NULL,
  sem = NULL,
  length = 0.05,
  type = "n",
  col = "black",
  pt.col = col,
  code = 2,
  ...
)

Arguments

x, y

data to plot

sem

error range (half)

length

line length

type

type of xy data see points

col

default color for points and error areas

pt.col

point colors

code

arrow code

...

other params passed to ebars.y

Examples

## Not run: 
plot_clean(0:10, -1:5, xlab = 'X')
ruta_axis(side = 2, at = -1:8)
ebars(x = c(2, 4), y = c(0, 3), sem = c(1, 0.5), col = c(2, 3))

## End(Not run)

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