Function for generating the n-period rolling geometric growth rate.

1 | ```
geogr(x, n = 1)
``` |

`x` |
The time series for the growth rate to be calculated. |

`n` |
The period for the growth to be calculated over. |

In order to ensure the growth rate calculated is reliable, the following rule are applied.

50% of the data must be present.

The length of the time series must be greater than n

Otherwise the growth will not be computed.

The n-period geometric growth rate of the time series.

1 2 3 4 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.