Inflate using a general index
inflator(x = 1, from, to, inflator_table, index.col = "Index", time.col = "Time", roll = NULL, max.length = NULL)
x | The vector to be inflated. |
---|---|
from | The contemporaneous time of x. |
to | The target time (in units of the |
inflator_table | A |
index.col | The column in |
time.col | The column in |
roll | If |
max.length | (Internal use only). If not |
A vector of inflated values. For example, inflator_table = grattan:::cpi_seasonal_adjustment
,
index.col = "obsValue"
, time.col = "obsTime"
, gives the CPI inflator.