plotErrorBars.H: Add horizontal error bars to current plot

View source: R/plotErrorBars.H.R

plotErrorBars.HR Documentation

Add horizontal error bars to current plot

Description

Adds horizontal error bars to current plot.

Usage

plotErrorBars.H(
  x,
  y,
  upper = NULL,
  lower = NULL,
  sigma = NULL,
  cv = NULL,
  CI = 0.95,
  lognormal = FALSE,
  width = 1,
  ...
)

Arguments

x

- vector of x coordinates or matrix w/ columns 1 & 2 taken as x,y

y

- vector of y coordinates (or NULL, if x is a matrix)

upper

- upper CI for y

lower

- lower CI for y

sigma

- standard deviations for y

cv

- cvs for y, instead of sigma

CI

- upper confidence interval (if sigma or cv specified)

lognormal

- flag (T/F). if true, assumed distribution is lognormal

width

- relative width of error bars

...

- graphics parameters for segments (e.g., col, lty, lwd)

Details

Adds horizontal errors bars to current plot.


wStockhausen/wtsPlots documentation built on July 19, 2023, 8:15 p.m.