LLines: Add spectral object plot

View source: R/spec-utils.R

LLinesR Documentation

Add spectral object plot

Description

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.

Author(s)

Thomas Laepple, Thomas Münch

See Also

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


EarthSystemDiagnostics/proxysnr documentation built on June 9, 2025, 11:58 a.m.