main.R is the main program to run run_analysis.R This script sets the input folder name for run_analysis.R Change inputDir variable in this file to set the input folder name.
INSTRUCTIONS:
- Open main.R
- Set inputDir variable to your dataset folder name
- Save main.R
- Run main.R script by typing the following command, asssuming main.R is in
/har folder. source('/har/main.R') - tidy.txt is created in the same folder as main.R
ASSUMPTIONS:
- inputDir folder has the same structure as the unzipped UCI HAR Dataset.zip provided for this project.