Description Usage Arguments Value Examples
View source: R/time_to_maturity.R
Calculate the number of periods until maturity for an investment
1 |
present_value |
Value of money at time t0. |
future_value |
Value at maturity. |
rate |
Interest rate. |
Number of periods until maturity
1 2 | time_to_maturity(1000, 1050, 0.05)
time_to_maturity(1000, 2000, 0.07)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.