Update run_analysis.R

Updated version of run_analysis.R