Description Usage Arguments Value Examples

`ts_index`

returns an index series, with value of 1 at `base`

date.
`ts_compound`

builds an index from percentage change rates, starting with 1
and compounding the rates.

1 2 3 | ```
ts_compound(x, denominator = 100)
ts_index(x, base = NULL)
``` |

`x` |
ts-boxable time series, an object of class |

`denominator` |
numeric, set equal to one if percentage change rate is given a decimal fraction |

`base` |
base date, character string, |

a ts-boxable time series, with the same class as the input.

1 2 3 4 5 6 7 8 9 10 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.