change_ref_year {IndexNumberTools} | R Documentation |
Change reference year
Description
Changes the reference year of a chain-linked series (with annual overlap).
Usage
change_ref_year(x, new_ref_year)
Arguments
x |
(ts) A chain-linked series with annual overlap. |
new_ref_year |
(num) New reference year. |
Value
The re-referenced index series.
Examples
change_ref_year(gdp_volume, 2015)
plot(gdp_volume)
lines(change_ref_year(gdp_volume, 2015))
[Package IndexNumberTools version 1.1 Index]