errlines: Draw a line with uncertainty regions

Description Usage Arguments Value Author(s)

View source: R/errlines.R

Description

Draw a line with uncertainty regions

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
errlines(
  x,
  y,
  errp,
  errn = errp,
  col = "black",
  alpha = 0.5,
  smooth = FALSE,
  df = NULL,
  ...
)

Arguments

x

vector of x-coordinates

y

vector of y-coordinates

errp

vector of y-errors in the positive direction (upwards)

errn

vector of y-errors in the negative direction (downwards)

col

color of the line

alpha

transparency of the uncertainty region

smooth

logical flag indicating whether the line should be smoothed

df

df (=degrees of freedom) parameter of smooth.spline function

...

additional parameters used by lines

Value

None

Author(s)

Danail Obreschkow


graphx documentation built on Feb. 3, 2022, 5:07 p.m.

Related to errlines in graphx...