Utilizing:

Put the 'run_analysis.R' into your Data folder(UCI HAR Dataset) and set the folder as your working folder, and then run the 'run_analysis.R'. Few seconds later, you will have the data you want in 'data.txt' of the working folder.

##Procedures in the File:

  • It merges the training and the test sets to create one data set and renames the variables as describtive variables.
  • It extracts only the measurements on the mean and standard deviation for each measurement to form a new data.
  • It outputs and independent tidy data set with the average of each variable for each activity and each subject into 'data.txt'.