get_goal_total_amount: Get total amount needed to theoretically last forever

Description Usage Arguments Value

View source: R/model_portfolio.R

Description

Given a goal annual amount and years waiting, what total amount of money is needed to theoretically last forever?

Usage

1
2
3
4
5
6
get_goal_total_amount(
  annual_amount,
  years_waiting,
  constant = 1.01,
  return_rate = 0.05
)

Arguments

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.

Value

Goal total amount


eanway/finance documentation built on Feb. 28, 2021, 4:56 p.m.