Description Usage Arguments Value
View source: R/model_portfolio.R
Given a goal annual amount and years waiting, what total amount of money is needed to theoretically last forever?
1 2 3 4 5 6 | get_goal_total_amount(
annual_amount,
years_waiting,
constant = 1.01,
return_rate = 0.05
)
|
annual_amount |
Annual amount to be withdrawn from the portfolio. Numeric greater than 0. |
years_waiting |
Years until the annual amount will start being withdrawn. Numeric greater than or equal to 0. |
constant |
Optional constant to reduce short-term returns. Default determined from experimentation. |
return_rate |
Optional long term rate of return. Default determined from experimentation. |
Goal total amount
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.