Last data update: 2014.03.03

R: Plot the Ending Balances and Withdrawals
plot_ending_bal_withdrawalsR Documentation

Plot the Ending Balances and Withdrawals

Description

Plot the Ending Balances and Withdrawals

Usage

plot_ending_bal_withdrawals(window_df, output_path, lump_sum, annual_withdrawal,
  annual_inflation, window_width)

Arguments

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

Value

No explicit returned values, creates the plots 'ending_bal.png' and 'withdrawals.png' in the output_path

Author(s)

George Fisher

#@description

#@details

#@examples

Results