compute_gr {IndexNumberTools} | R Documentation |
Compute the growth-rate series
Description
Function that computes the growth-rate series of a given time series.
Usage
compute_gr(x, s)
Arguments
x |
(ts) A time series. |
s |
(int) Lag at which the growth-rate is computed. |
Value
Series of growth-rates.
Examples
compute_gr(gdp_current, 4)
[Package IndexNumberTools version 1.1 Index]