Last data update: 2014.03.03

R: Plot the Distribution of Ending Balances
plot_ending_bal_distributionR Documentation

Plot the Distribution of Ending Balances

Description

Plot the Distribution of Ending Balances

Usage

plot_ending_bal_distribution(window_df, output_path, window_width)

Arguments

window_df

data.frame output of sp500SlidingWindow

output_path

folder to write the file and the plot, if NULL then the image is plotted to the screen

window_width

number of years in each window

Value

No explicit returned values, (1) writes 'distribution.txt' with statistics about the windows (2) creates a plot 'distribution.png' in the output_path showing the distribution of outcomes

Author(s)

George Fisher

#@description

#@details

#@examples

Results