Course 3 of the Data Science Course in Coursera
-
Download the data from the link https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
-
Unzip the data to a directory, it will create a folder named "UCI HAR Dataset"
-
Place the "run_analysis.R" in that directory.
-
In RStudio, set your working directory to the directory above.
-
Source run_analysis.R, it will generate a file,
- tidy_data_with_average.txt - independent tidy data set with the average of each variable for each activity and each subject.