generic_inflator {grattan} | R Documentation |
Generic inflator
Description
Used to inflate variables in the sample file when there is no clear existing index. Note this is an unexported function: it is not available to the end-user.
Usage
generic_inflator(
vars,
h,
fy.year.of.sample.file = "2012-13",
nonzero = FALSE,
estimator = "mean",
pred_interval = 80
)
Arguments
vars |
A character vector of those variables within |
h |
An integer, how many years ahead should the inflator be targeted. |
fy.year.of.sample.file |
A string representing the financial year of |
nonzero |
Should the forecast be taken on all values, or just nonzero values? |
estimator |
What forecast element should be used: the point estimate ( |
pred_interval |
If |
Value
A data table of two columns: variable
containing vars
and inflator
equal to the inflator to be applied to that variable to inflate it ahead h
years.