inflator {grattan} | R Documentation |
Inflate using a general index
Description
Inflate using a general index
Usage
inflator(
x = 1,
from,
to,
inflator_table,
index.col = "Index",
time.col = "Time",
roll = NULL,
max.length = NULL
)
Arguments
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 |
Value
A vector of inflated values. For example, inflator_table = grattan:::cpi_seasonal_adjustment
,
index.col = "obsValue"
, time.col = "obsTime"
, gives the CPI inflator.