error_bar.default: create error bars

View source: R/error_bars.R

error_bar.defaultR Documentation

create error bars

Description

create error bars

Usage

error_bar.default(x, y, offset.up = 0, offset.down = 0, offset.right = 0,
  offset.left = 0, epsilon = 0.1, ...)

Arguments

x

location in x

y

location in y

offset.up

offset up

offset.down

offset down

offset.right

offset right

offset.left

offset left

epsilon

width of bar in relative units

...

additional arguments passed to arrows

Examples

plot(1:10, 1:10)
error_bar(5, 5, offset.up=1, col="green")

USGS-R/gsplot documentation built on April 17, 2023, 8:45 p.m.