Description Usage Arguments Value Author(s)
Plot the Ending Balances and Withdrawals
1 2 | plot_ending_bal_withdrawals(window_df, output_path, lump_sum, annual_withdrawal,
annual_inflation, window_width)
|
window_df |
data.frame output of sp500SlidingWindow |
output_path |
folder to write the file and the plot |
lump_sum |
the amount initiall invested |
annual_withdrawal |
the amount of hoped-for withdrawals |
annual_inflation |
each year the withdrawal goes up this much |
window_width |
the number of years in the sliding window |
No explicit returned values, creates the plots 'ending_bal.png' and 'withdrawals.png' in the output_path
George Fisher
#@description
#@details
#@examples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.