Updated syntax to match 'run_analysis.r' file