Description Usage Arguments Details See Also Examples

Exponentially interpolate around two data points

1 | ```
interpolate_exponential(p1, p2, t1, t2, t0)
``` |

`p1` |
Value in period 1 |

`p2` |
Value in period 2 |

`t1` |
Time step for period 1 (i.e., 2010) |

`t2` |
Time step for period 2 (i.e., 2040) |

`t0` |
The timepoint for interpolation (or extrapolation) |

This function first calculates the implied exponential growth rate between two points, and then predicts where the function would be in the intermediate year.

calc_exprate

1 2 | ```
interpolate_exponential(10, 12, 2010, 2040, 2020)
interpolate_exponential(10, 12, 2010, 2040, 2008)
``` |

pbsag/swimr documentation built on May 24, 2019, 10:39 p.m.

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.