Description Usage Arguments Value
View source: R/plot_functions.R
This function adds recession bars to ggplot using daily FRED recession indicator data
1 | add_rec_shade(st_date, ed_date, shade_color = "darkgray")
|
st_date |
Start date of desired data |
ed_date |
End date of desired data |
shade_color |
Color of recession bars |
A geom_rect object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.