Skip to contents

Add a line plot of a spectral object to an existing plot.

Usage

LLines(
  x,
  inverse = FALSE,
  conf = TRUE,
  col = "black",
  alpha = 0.2,
  removeFirst = 0,
  removeLast = 0,
  ...
)

Arguments

x

a spectral object.

inverse

if TRUE treat the x-axis values in units of period (inverse frequency), increasing to the left; defaults to FALSE.

conf

if TRUE (the default) add a transparent confidence interval (has no effect if x contains no confidence limits).

col

color for the line plot and the confidence interval.

alpha

transparency level (between 0 and 1) for the confidence interval; defaults to 0.2.

removeFirst

omit removeFirst values on the low frequency side.

removeLast

omit removeLast values on the high frequency side.

...

further graphical parameters passed to lines.

See also

spec.object for the definition of a proxysnr spectral object.

Author

Thomas Laepple, Thomas Münch