Description Usage Arguments Value Examples
Plot using base plot
1 | plot_recession(periodicity, ytop = 700, ybottom = -700, alpha = 0.3)
|
periodicity |
What is the periodicity of data used. Only accepts (q)uartely or (m)onthly. You can use the whole word or only the first letter |
ytop, ybottom |
Controls the upper and lower limits of the shading. The default should be enough for most data |
alpha |
Controls the transparency of the shade. Should be a number between 0 and 1 |
If there is a time series already plot, it should shade the back. Otherwise, it returns an error.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.