| get_q_index | R Documentation |
Returns the series of quantity indices in previous year prices from a current prices and
get_q_index(current, constant)
current |
(ts) Values at current prices. |
constant |
(ts) Values at previous year prices. |
Series of quantity indices for previous year prices.
gdp_pyp <- get_pyp(gdp_volume)
gdp_constant <- gdp_current / gdp_pyp * 100
get_q_index(gdp_current, gdp_constant)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.