| change_ref_year | R Documentation |
Changes the reference year of a chain-linked series (with annual overlap).
change_ref_year(x, new_ref_year)
x |
(ts) A chain-linked series with annual overlap. |
new_ref_year |
(num) New reference year. |
The re-referenced index series.
change_ref_year(gdp_volume, 2015)
plot(gdp_volume)
lines(change_ref_year(gdp_volume, 2015))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.