View source: R/generic_inflator.R
generic_inflator | R Documentation |
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.
generic_inflator(
vars,
h,
fy.year.of.sample.file = "2012-13",
nonzero = FALSE,
estimator = "mean",
pred_interval = 80
)
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 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.