Update run_analysis.R

fixed errors