LLines | R Documentation |
This function adds a spectrum to an existing double-logarithmic plot and optionally adds a transparent confidence interval.
LLines(
x,
conf = TRUE,
bPeriod = FALSE,
col = "black",
alpha = 0.3,
removeFirst = 0,
removeLast = 0,
...
)
x |
a spectral object resulting from a call to |
conf |
if |
bPeriod |
if |
col |
color for the line plot and the confidence interval. |
alpha |
transparency level (between 0 and 1) for the confidence
interval. Defaults to |
removeFirst |
omit |
removeLast |
omit |
... |
further graphical parameters passed to |
Thomas Laepple
Other functions to plot power spectra:
LPlot()
,
gg_spec()
x <- ts(arima.sim(list(ar = 0.9), 1000))
spec <- SpecMTM(x)
LPlot(spec, col = "grey")
LLines(LogSmooth(spec), lwd = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.