View source: R/dm_wavelet_reconstruct.R
| plot.dm_wavelet_reconstruct | R Documentation |
Plots reconstructed or filtered cycle components extracted by
dm_wavelet_reconstruct().
## S3 method for class 'dm_wavelet_reconstruct'
plot(
x,
y = NULL,
series = NULL,
type = c("compare", "reconstructed", "difference", "filtered"),
facet = TRUE,
legend_position = "right",
line_width = 0.8,
alpha = 0.7,
main = NULL,
...
)
x |
An object of class |
y |
Unused. |
series |
Optional character vector of series names to plot. If
|
type |
One of:
|
facet |
Logical. If |
legend_position |
Legend position passed to ggplot2. |
line_width |
Line width. |
alpha |
Alpha transparency for original series in compare plots. |
main |
Optional title. |
... |
Further arguments passed to or from other methods. |
A ggplot2 object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.