Learn R Programming

sp500SlidingWindow (version 0.1.0)

plot_total_stock_market: Plot the Entire Stock Market History from 1950

Description

Plot the Entire Stock Market History from 1950

Usage

plot_total_stock_market(raw_data, output_path)

Arguments

raw_data
output of SP500TR_1950()
output_path
folder to write the file and the plot

Value

No explicit returned values, creates a plot paste0("SP500_", start_year, "-", end_year, ".png") in the output_path